0

Got Windows Server 2012 installation for work, by a network admin(first time around dealing with a server, or setting up apache from scratch etc).

Setup Apache to get things rolling, so I can at least connect to the server and display a html page through port 80. If I launch apache, and use netstat from the actual server(via rdp), I can deduct that Apache is listening to connections on port 80.

However, if I use telnet to check from an external source, it says connection failed on port 80, and online port checkers deduct that the port is closed(set up proper firewall permissions as well, also have tried it with the firewall turned off, doesn't make a difference).I can't access the web page.

My question is, if port 80 is listening on the local server side, but can't be reached by any type of port checking, does that mean it's not setup properly on the hardware side of things? How could I further diagnose this?

netstat results

  • 1
    How are you calling your webserver? IP or Name? Has this been configured in Apache [Binding to Addresses and Ports](https://httpd.apache.org/docs/2.4/bind.html) – John K. N. Nov 22 '16 at 13:52
  • To start, I would try to telnet localhost 80 – Zumo de Vidrio Nov 22 '16 at 11:39
  • Ye, I can connect to localhost port 80 fine in the server. – itsmetheperson Nov 22 '16 at 11:41
  • When you say "external source" do you mean from same network or different network? If from same network it works fine and from external network id doesn't, you will need to check on your network design – Zumo de Vidrio Nov 22 '16 at 11:47
  • So i just checked, it connects fine from the server itself, and if I use telnet serverip 80 from a computer within the same network. If I try to connect from a computer outside of the network, it can't connect. – itsmetheperson Nov 22 '16 at 11:48
  • So further analysis on your network must be done; network devices involved, NAT/Port forwarding, traceroutes... – Zumo de Vidrio Nov 22 '16 at 11:52

1 Answers1

0

Disable firewall or add firewall rule for 80\TCP port like there: https://support.rackspace.com/how-to/managing-the-windows-server-2012-firewall/

Slipeer
  • 3,255
  • 2
  • 18
  • 32