Shadowsocks server: port 443 invalid port number

as stated above, when I try to use 443 as port I get a message about invalid port number when I try to start the server.

Why is this? I would like to use 443 to get through all sorts of firewalls.

Slate with 0220 testing firmware.

thanks.

The UI doesn’t let you set ports under 1024 as they require special privileges in linux. To use those ports you will need to set up in your case shadowsocks from commandline, with root.

https://www.staldal.nu/tech/2007/10/31/why-can-only-root-listen-to-ports-below-1024/

I can run it from command line if necessary, I do that on my PI.

problem is that port 443 is bound to GL user interface, how can I change that?

Also, from trying other port, it seems the firewall is blocking incoming connections, how do I open a port for incoming connections?

root@GL-AR750S:~# netstat -tulpn | grep :443
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 6183/lighttpd

thanks

seems I solved the problem by commenting out then contents in /etc/lighttpd/conf.d/30-openssl.conf

added 443 in firewall / open ports
now I can use shadowsocks server from the gui.

Is there a better way to fix the binding of 443 to gl ui?

I think that is the best way. There is no way to change ports for the GL UI in other ways currently :slight_smile:

1 Like