• The site may be on/off today as we're going to be upgrading some key services on the server (php, nginx, kernel, etc...). If it breaks, we promise to fix it :)

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,677
Reaction score
1,296
Credits
11,063
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,677
Reaction score
1,296
Credits
11,063
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
1,023
Reaction score
1,962
Credits
2,090
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:
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Latest posts

Top