My website cant be reached from outside network.

OskOskOsk

New Member
Joined
Feb 23, 2021
Messages
4
Reaction score
0
Credits
34
Hello, I host my website on Ubuntu Server using Apache 2. I can only reach my website using LAN network trought my prvate ip. My friends can access my Minecraft server on port :25565 but cant access website on port :80. I tried to turn off Linux firewall but it dont fix problem.
 


Usually most internet providers, (CenturyLink, Comcast, Xfinity, etc..)
block these ports, and block IP adressed based services. Some allow port based
services (such as minecraft which is NAT'ed). But they require you to pay for public internet
address space.
 
Usually most internet providers, (CenturyLink, Comcast, Xfinity, etc..)
block these ports, and block IP adressed based services. Some allow port based
services (such as minecraft which is NAT'ed). But they require you to pay for public internet
address space.
I have alredy paid for my public IP and port forwarding works for my LAN network (it wasnt working before), i think that there is some issue with apache or server network configuration.
 
From your webserver can you...

Use a browser to go to your website?
telnet x.x.x.x 80 (or 443)?
can you curl http://x.x.x.x ?
(where x.x.x.x is the IP of your webserver.)


From a IP outside your local LAN, outside your firewall..
Can you do the same?
 
Also, make sure apache isn't only listening on localhost. You can do something like netstat -tanp |grep apache and you should see the IPs and ports apache is listening on and post that here.

Edit: re-reading, I see you can hit it on its private ip, but i'll leave this up as it may help someone else heh.
 
Last edited:

Members online


Top