Using IP address instead of localhost on your local machine

hi,
i need some help…
i have a project… its working fine…
its at the location, http://localhost/pro/index.php

when i try my ip address instead of localhost,
http://192.XXX.X.X/pro/index.php
i am getting permission denied error… how to solve this problem?
i am using WAMP, PHP 5.2.5

I’m guessing your http port is blocked.

It will work on localhost & 127.0.0.1 because the request doesn’t leave your PC, a loopback of sorts.

When you type 192.*.., the request will go to the router, then back, and it seems, get denied.

Check your firewall.

SilverB.

i disabled windows firewall (thats the one i have) i still get the same error…

In the options for WAMP, click “Put Online”…

woot!!! thanks dude
working :slight_smile: :slight_smile: :slight_smile:

Great stuff, glad to here it!

:smiley:

Btw masking your internal IP is kinda pointless. It is a private IP we can’t access it.

192.168.1.x is a very commonly range used for home networks.

i just wanna access couple of files across LAN using the ip adress instead of localhost.