Are you using a tunnel?
Don't think its the WebGUI as its ported to 8XXX from WAN? But you can kill the httpd process to test I suppose?
Sometimes I'm behind a firewall that only allows outgoing traffic through port 80, which prevents me SSH access to my ASUS.
If I try to change dropbear to listen on port 80, I get this error:
The problem seems to be the web GUI, which is listening on: 0 0.0.0.0:80.Code:dropbear[345]: Failed listening on '80': Error listening: Address already in use dropbear[345]: premature exit: No listening ports available.
How can I change the listening address of the WWW GUI?
I'm using 1.9.2.7-d-r740.
Are you using a tunnel?
Don't think its the WebGUI as its ported to 8XXX from WAN? But you can kill the httpd process to test I suppose?
Last edited by velcrow; 03-02-2010 at 15:14.
Hi, thanks for the reply!
No, I'm not using a tunnel.
The web GUI seems to listen on all adresses on port 80.
I have no idea how to change the settings for the default httpd server. I remember I've tried this before...Code:$ lsof -nP -i | grep httpd httpd 40 root 5u IPv4 249 TCP *:80 (LISTEN)
Last edited by RDF; 03-02-2010 at 17:49.
Just search this forum
http://wl500g.info/showthread.php?t=...t=http_lanport
Thanks, and sorry for not searching carefully enough.
So I can set the httpd port by setting the "http_lanport" nvram variable.
But why is httpd listening on all addresses (0.0.0.0), if I'm just using http_lanport?
There's also a variable called http_wanport, which is set to none.
I can't find a variable for the listening address? Is there supposed to be a variable like http_listeningaddress? Or how to change it to listen just the LAN IP?
Builtin httpd always listen on all interfaces, but incoming WAN connections is blocked in firewall by default. You have to learn iptables to know how it is working.
http_wanport variable used to forward some port from WAN (if it is enabled in web-UI) to http_lanport port.