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

Posted on May 6, 2021 8:09 PM

Reply

Similar questions

4 replies

May 9, 2021 3:20 PM in response to Barney-15E

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!

May 10, 2021 11:00 PM in response to BobTheFisherman

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.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Disconnect localhost:9080

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.