Disconnect localhost:9080
My localhost:9080 always displays "It works!". How can I free it from the process. I have tried many different commands to disconnect it but nothing works. I am on macOS Big Sur 11.3.1. Thanks.
MacBook Pro 15″, macOS 11.3
My localhost:9080 always displays "It works!". How can I free it from the process. I have tried many different commands to disconnect it but nothing works. I am on macOS Big Sur 11.3.1. Thanks.
MacBook Pro 15″, macOS 11.3
Check your httpd.conf file to see what port apache is listening on. Check your apache virtual hosts to see if port 9080 is configured.
Do you to stop the web server?
sudo apachectl stop
If not, I don’t understand what you mean.
Thank you Barney. I have tried your suggested solution before I asked for help to free port 9080 connection. I have tried different terminal commands but nothing works. It is busy and I can't use it. My solution now is to use port 8080. However, I do want to free port 9080 because anytime I go to localhost:9080 on my browser, it display the "It works!" screen. Do you have a solution for me? Thanks!
Thank you BobTheFisherman. The httpd.conf file has default ports listen 8080.
On checking apache virtual hosts using the following commands:
apache2ctl -t -D DUMP_VHOSTS
apache2ctl -s
Returns command not found (was in apache2 directory when I executed the command)
httpd -t -D DUMP_VHOSTS
Returns AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using eyfromtoronto-MacBook-Pro.local. Set the 'ServerName' directive globally to suppress this message
Syntax OK
I am a newbie, not a power user of the terminal commands. Any syntax assistance to resolve this issue would be very much appreciated. Thank you.
Disconnect localhost:9080