You have two machines, both connected to the internet. One you are told has a web server running on it, the other doesn’t have a web browser of any kind. Using the machine without the browser, how can you tell that the web server is running on the other machine?
The common mistake people make here is they answer "ping the machine". That doesn't check
anything other than to see if the machine is visible on the network. It has nothing to do with the
web server itself. To find out if the web server is running, just telnet to port 80. If the port 80 is
open, it doesn't mean that it is the web server listening to that port yet. To make sure it is the web
server, you can type a primitive HTTP request like “GET /” and press "enter" twice. If it is the web
server, then you should get the index page HTML code on your screen.
anything other than to see if the machine is visible on the network. It has nothing to do with the
web server itself. To find out if the web server is running, just telnet to port 80. If the port 80 is
open, it doesn't mean that it is the web server listening to that port yet. To make sure it is the web
server, you can type a primitive HTTP request like “GET /” and press "enter" twice. If it is the web
server, then you should get the index page HTML code on your screen.
Comments
Post a Comment
https://gengwg.blogspot.com/