aMule Forum
English => aMule Help => Topic started by: blazemonkey on June 14, 2012, 06:06:54 AM
-
Hi,
I've got amule 2.3.1 installed in a dedicated debian squeeze install and I'd like to set amules webserver to listen on port 80.
I've obviously tried to set the webserver port to 80 in amule.conf, which unsurprisingly doesn't work on a linux system. Oanother machine running deluge-web I was able to overcome this by entering the command "setcap 'cap_net_bind_service=+ep' /usr/bin/python2.7", I'm hoping I can do something similar for amule-web.
Thanks :D
-
You have to change [WebServer]Port in remote.conf.
-
No dice there either, I should have explained myself better.
I've actually configured the webserver to run from within the amuled daemon and I've already had it set to accept connections on port 10002 in amule.conf. If I add the [WebServer]Port option to remote.conf, and start amuleweb, I will actually have a second webserver running on a separate port, in my test case, port 10003.
But, I cannot connect to either amued or amuleweb when the webserver port is set to 80.
-
The port numbers below 1024 are called privileged ports (or sometimes: reserved ports). Only privileged processes (i.e., those having the CAP_NET_BIND_SERVICE capability) may bind(2) to these sockets.
That usually means you'd have to run aMuleWeb with root privileges (which is not recommended at all) to allow binding to port 80.