localhost or what?

Discussion in 'Site & Server Administration' started by mahmood, May 19, 2007.

  1. #1
    In order to get to the local web server we usually use http://localhost. How can I directly refer to my computer?

    I though puting the ip number for example: "http://38.703.837.83" would work but it didn't.
     
    mahmood, May 19, 2007 IP
  2. Ljiljan

    Ljiljan Peon

    Messages:
    185
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you have Dynamic IP address you should use Dynamic IP addresses! I'd recommend you to try No-Ip for that.

    You have many tutorials over internet and you should google them!
     
    Ljiljan, May 19, 2007 IP
  3. mahmood

    mahmood Guest

    Messages:
    1,228
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't want to do something fancy such as running a website on my computer or accessing from somewhere else. I just want to know if the "localhost" can be replaced by my computer IP or computer name or whatever.
     
    mahmood, May 19, 2007 IP
  4. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Within your local network, local ip, local hostname, 127.0.0.1 or localhost addresses will work.

    But if your external IP is called and you're using a router, then port has to be forwarded to the local ip.
     
    agnivo007, May 19, 2007 IP
  5. mahmood

    mahmood Guest

    Messages:
    1,228
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Humm...
    How do I find my local IP?
     
    mahmood, May 20, 2007 IP
  6. Clark Kent

    Clark Kent Guest

    Messages:
    122
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    execute "ipconfig" on DOS command window.
    You will see your internal local ip.
     
    Clark Kent, May 20, 2007 IP
  7. mahmood

    mahmood Guest

    Messages:
    1,228
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #7
    OK, thanks. :)
     
    mahmood, May 20, 2007 IP