Im trying to run a local web server Mongoose on mac, its default settings is listening on port 8080,I want to change it to 800 but it doesn't run mongoose once I changed it to 800. What seems to be the problem?
You have to run as
root to bind to the privileged ports (<1024). You can run Mongoose via
sudo, but then you will have a web server running as
root. Not a good idea!
Changing user with
run_as_user parameter also seems to be unsupported on Mac:
Mongoose[22361:507] The application with bundle ID (null) is running setugid(), which is not allowed.
Why don't you pick a port above 1024 e.g. 8081? Then you can run as unprivileged user.
For troubleshooting you can run Mongoose in Terminal.app like this: