Author Topic: use Ip address instead of localhost in WAMP server  (Read 5800 times)

0 Members and 1 Guest are viewing this topic.

Offline zohaibTopic starter

  • Irregular
  • Posts: 12
    • View Profile
use Ip address instead of localhost in WAMP server
« on: November 18, 2008, 05:15:42 AM »
Hi all,


I am using wamp on windows XP.Details as below

 Server Configuration

Apache Version :
    2.2.8 
PHP Version :
    5.2.6 
MySQL Version :
    5.0.51b   

Now in order to use it i have to type "http://localhost/"

But in case of xampp server i have to type "http://192.168.1.22"

How can i change "http://localhost/" to  "http://192.168.1.22" in WAMP

any ideas?

Offline Jaysonic

  • Fanatic
  • Posts: 3,332
  • Gender: Male
  • 8548863
    • View Profile
    • I Am Lewy Babes
Re: use Ip address instead of localhost in WAMP server
« Reply #1 on: November 18, 2008, 05:22:07 AM »
You can use http://127.0.0.1 to access WAMP as well.
Good luck with your coding.
Jason ~ ProjectFear ~ Jaysonic (and variations of... :))

Offline wildteen88

  • Guru
  • 'Insane!'
  • *
  • Posts: 12,021
  • Gender: Male
    • View Profile
Re: use Ip address instead of localhost in WAMP server
« Reply #2 on: November 18, 2008, 01:53:48 PM »
Hi all,


I am using wamp on windows XP.Details as below

 Server Configuration

Apache Version :
    2.2.8 
PHP Version :
    5.2.6 
MySQL Version :
    5.0.51b  

Now in order to use it i have to type "http://localhost/"

But in case of xampp server i have to type "http://192.168.1.22"

How can i change "http://localhost/" to  "http://192.168.1.22" in WAMP

any ideas?

http://localhost/
http://127.0.0.1/
http://192.168.1.22/

should all work without any configuration.