Chris Slack
asked on
MAC computer with Darwin 10.6 How to open port 8080 and keep it open
I have a client with Mac computer and I need to open port 8080. I can talk to the port if I use this command "nc -l 8080" Network program will then show port open and then it will close after it get used. Google everywhere and can't find a solution. Any help would be appreciated.
It's an older MAC with Darwin 10.6.4.
It's an older MAC with Darwin 10.6.4.
Ports only are open if there is a program listening and responding on them. There really is no such as just an 'open' port. That is not just OSX but all operating systems, Windows, Linux, and anything else that uses standard networking.
ASKER
I can use the Apple Network Utility to see all ports that are open(Listening). 22,80,88,445 etc... In windows I can use the firewall advanced settings to open a port(Listen) all the time. There should be one for the MAC too. It's a simple web site that is requesting this port be opened(listening). There is some Apache or sudo command out there that should do this.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In windows I can use the firewall advanced settings to open a port(Listen) all the time.You can 'open' a port in the firewall but unless there is a program or service that is listening at that port and responding to requests, a port scanner will not consider it 'open' because it is not doing anything. This true for Mac, Windows, and Linux.
ASKER
Thank you eoinosullivan. This is the answer I was look for. I need to know what vehicle I can use to get that port listening. Apache should be able to this. I will try it.
Thanks Again.
Thanks Again.