Question:
webserver port forward?
2013-03-31 05:52:23 UTC
my webserver runs ubuntu 12.04 and i was concerned weather it was the fire wall of the computer that was blocking me from using the public ip, because i know how to port forward, already did tcp and udp port 80 and so on. i have already had a minecraft server up and it was successful.my router is a 2wire att uverse 3801HGV. Thank you if you can figure it out! :)
Three answers:
Adrian
2013-03-31 07:18:08 UTC
Some (not many, but a few) ISPs block incoming port 80, to prevent home servers...

You can test this theory by changing your web server to a different port, like 8080, and forward that instead. If outside users can connect, then the ISP is the problem.



Otherwise, if the port forwarding is done correct in all routers, and your Ubuntu server is at a static LAN IP address that is NOT in the DHCP pool range, then it should work. Ubuntu server, by default, would not block any incoming port 80 (since it is a server...). There should be no "firewall" unless you specifically installed one under Ubuntu Server.



Since you got Minecraft working, it probably is not you, but rather something else in the network (ISP...). Another possibility is that the ISP's modem/router is using port 80 for admin work by the ISP (so they can get to the modem for admin work). In that case, you need to change the port or turn off remote admin in those devices.
korting
2016-08-09 09:36:16 UTC
You have to forward visitors for port 80 for HTTP visitors. You need to set 80 as the incoming and outgoing port - of course to your static IP tackle where your internet server is. Also Apache has a bit annoyance that it doesn't always mounted as a carrier on begin up. You can do this in the administration part in manipulate panel. It indicates the icon in the notification area but if you happen to closely the server is not switched on. It's also possible to ought to set-up a rule on your firewall on the computing device. If in case you have done all that appropriately i will be able to handiest expect you've got an improper environment to your apache configuration file. Definitely thats somewhat a lot to go into right here but there is steering on the Apache website.
ratter_of_the_shire
2013-03-31 07:00:19 UTC
iptables --list



should let you view any active rules on your firewall.



A lot of ISP's will block incoming connections on ports 22, 25, and 80. Try running your web sever on port 8080 or a random high port to see if it works.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...