Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. How do you convert localhost to a url?

How do you convert localhost to a url?

Scheduled Pinned Locked Moved Web Development
htmlapachewindows-admintutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leprosy
    wrote on last edited by
    #1

    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?

    A Z 2 Replies Last reply
    0
    • L Leprosy

      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?

      A Offline
      A Offline
      Amitux
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • L Leprosy

        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?

        Z Offline
        Z Offline
        ZoogieZork
        wrote on last edited by
        #3

        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

        T 1 Reply Last reply
        0
        • Z ZoogieZork

          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

          T Offline
          T Offline
          TPN
          wrote on last edited by
          #4

          For your information: if we use IE as web browser and if there is a port number specified after the server name or server IP, the URL must have the http:// prefix, if not IE cannot search the page.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups