Skip to main content

Thread: PHP5 server can't reach from outside LAN


i have installed ubuntu server apache2, php5, mysql , phpmyadmin.
works fine when access server on lan. have forwarded port 80 in router lan ip of server. (i have other windows based web servers familiar port forwarding) when try access server true static ip outside lan cannot reach , connection times out ubuntu server connected if use canyouseeme says port 80 closed. if replace ubuntu server server can reach fine outside , canyouseeme says port open. pretty darn sure router correct , there config problem ubuntu box, cannot find it. ports.conf file has listen 80 in , apache2.conf includes ports.conf file.
please help. thanks
<m>

code:
## see ports listening on system >netstat -vatn |grep listen  tcp        0      0 0.0.0.0:80              0.0.0.0:*               listen      tcp        0      0 0.0.0.0:22              0.0.0.0:*               listen      tcp        0      0 0.0.0.0:443             0.0.0.0:*               listen      . . .  ## shows process listen on port 80 >lsof -i :80  command  pid     user   fd   type device size/off node name apache2 3043     root    3u  ipv4  13274      0t0  tcp *:www (listen) apache2 3048 www-data    3u  ipv4  13274      0t0  tcp *:www (listen)  ## shows iptables firewall rules on machine >sudo iptables -l
try above commands see if apache ist listening correctly , reachable outside (iptables)


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] PHP5 server can't reach from outside LAN


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support