How do you convert localhost to a url?
-
Hi, im running IIS and someimtes apache on my home machine and would like to know how to convert the localhost word in the url to something that someone from another computer can access. if the url I use to access the page is localhost:8080/Home.html and my IP adress is 152.103.2.19 then i test the url as http://152.103.2.19:8080/Home.html but it says page not found... am I doing something wrong?
-
Hi, im running IIS and someimtes apache on my home machine and would like to know how to convert the localhost word in the url to something that someone from another computer can access. if the url I use to access the page is localhost:8080/Home.html and my IP adress is 152.103.2.19 then i test the url as http://152.103.2.19:8080/Home.html but it says page not found... am I doing something wrong?
If you have iis and apache on same machine then first of all stop apache service then start IIS server(start-setting-control panel-administrative tools-internet services manager) click on default web site. start service. Now browse to url(eg:- "http://160.2.80.6/test.htm") Since you have html page you need to check its extension as it may be .htm or .html You can also use computer name rather than using IP address. Cheers:) Amit Chowdhury
-
Hi, im running IIS and someimtes apache on my home machine and would like to know how to convert the localhost word in the url to something that someone from another computer can access. if the url I use to access the page is localhost:8080/Home.html and my IP adress is 152.103.2.19 then i test the url as http://152.103.2.19:8080/Home.html but it says page not found... am I doing something wrong?
You might have the web server listening specifically on 127.0.0.1 or a name-based host "localhost", or a firewall might be blocking port 8080. Are you actually connecting, but getting a 404, or is the browser unable to connect at all? - Mike
-
You might have the web server listening specifically on 127.0.0.1 or a name-based host "localhost", or a firewall might be blocking port 8080. Are you actually connecting, but getting a 404, or is the browser unable to connect at all? - Mike