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.
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,017
Reaction score
691
Credits
5,145
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.
 
OP
OskOskOsk

OskOskOsk

New Member
Joined
Feb 23, 2021
Messages
4
Reaction score
0
Credits
34
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.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,017
Reaction score
691
Credits
5,145
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?
 

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
841
Reaction score
1,600
Credits
627
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:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top