www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: hmm weird error with configuring server on localhost

  1. #1
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822

    hmm weird error with configuring server on localhost

    so i set up php, mysql, and apache on my localhost and it works great. I type in localhost/path./to/my/file and it takes me there, but when i type in my ip address it takes me to configuration for my computers router. Anyway around this?

  2. #2
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    go to start >> run and type "inetmgr"....then when you get in there, click on your localhost and then on websites....a ip address should be configured and that'll be the one you should use.....good luck!
    Chris.Martz.me
    Some things Man was never meant to know. For everything else, there's Google.

  3. #3
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    it gave me the windows can not find javascript pop up

  4. #4
    Join Date
    Jun 2003
    Location
    Indiana, USA
    Posts
    1,138
    are you using iis at all?
    Chris.Martz.me
    Some things Man was never meant to know. For everything else, there's Google.

  5. #5
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    no like i said, im using apache.

  6. #6
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    any other ideas

  7. #7
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    You need to configure your router to send requests on port 80 to your computer's local ip address and change the router pass so that people from remote places cant getin on say port 81 which is not forwarded. This is not a server problem but a router problem. If you type in your local ip it should still work and if you type in that 127.0.0.1 (ip of local host) it should work too.
    Last edited by PeOfEo; 04-17-2004 at 12:55 PM.

  8. #8
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    thanks peo when i type in 127.0.0.1 it works. Is there anyway for me to find out my local ip?

  9. #9
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Originally posted by RefreshF5
    thanks peo when i type in 127.0.0.1 it works. Is there anyway for me to find out my local ip?
    This is Windows, right? Open a DOS window and use ipconfig/all to see your current network setup.

  10. #10
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    yep ipconfig, and when you go your router type in
    http:// <deault gateway here> into a web browser.

  11. #11
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    when i try to open ipconfig it just like flashes for a second and goes away. I cant see anything. This is when i type it run

  12. #12
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Originally posted by RefreshF5
    when i try to open ipconfig it just like flashes for a second and goes away. I cant see anything. This is when i type it run
    run --> type in 'command' --> type in 'ipconfig' in the prompt.

  13. #13
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    when i type this http:// <deault gateway here> into my web browser, it says can not connect to http:// <deault gateway here>

  14. #14
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    nonono, go into ip config and get your default gateway and type it into where it says <default gateway here>

  15. #15
    Join Date
    Nov 2003
    Location
    Long Island
    Posts
    822
    yeah thats what i did but i just posted that instead of the actual numbers. Im not an idiot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles