MacOS X: How to allow a server running on port 80?

BlitzMax Forums/BlitzMax Beginners Area/MacOS X: How to allow a server running on port 80?

explosive(Posted 2009) [#1]
Hello alltogether,

it's a really silly question actually, but I just can't figure it out. I want to write a simple server, that serves the HTTP-protocoll (Port 80). The connection does work, when I let the programme run on port 8080, but Mac OS prohibits the connection on port 80. What can I do?

Many, many thanks
Simon


xlsior(Posted 2009) [#2]
The port may already be in use -- some other applications like Skype listen to port 80 as a fallback connection.

You'll need to pull up a list of used poprts -- no idea how to do that on Mac, but under Windows there's the 'netstat' command, or 3rd party programs like TCPView...


N(Posted 2009) [#3]
You'll need to pull up a list of used poprts -- no idea how to do that on Mac, but under Windows there's the 'netstat' command, or 3rd party programs like TCPView...

lsof -i -P will show current connections, for the most part.


Panno(Posted 2009) [#4]
maybe this help

http://raduner.ch/blog/2009/osx-apache-httpd-could-not-bind-to-address/#more-1582