Jump to content

how to view my php page in intranet


Recommended Posts

If you want to use 10.0.0.2 as localhost I believe you need to configure the host file in order to use that ip address as localhost. 127.0.0.1 is the defualt ip address for accessing the intranet on the PC. localhost is the alias of 127.0.0.1
localhost always points to your current machine - I don't believe there's much you can do about that.

But to access the website on 10.0.0.1 from 10.0.0.2, you would do:

http://10.0.0.1/tst.php
Oh on guys... I think he trying to mean how other people view his site..
It would be http://YourGlobalIP:PORT/

You can find your Global IP at http://whatismyip.com
next, your port default is 80. Make sure it isn't block by anything..
[quote author=hackerkts link=topic=110125.msg446551#msg446551 date=1159954872]
Oh on guys... I think he trying to mean how other people view his site..
It would be http://YourGlobalIP:PORT/
[/quote]

Erm... nope.

[quote author=jana link=topic=110125.msg444561#msg444561 date=1159682165]
i want view that page in other system over intranet.
[/quote]

"Intranet" means "local network", while "internet" means the world-wide network we know and love. And then it was specified that the user wanted to use IP addresses of 10.x.x.x, which are reserved for internal use only.

[quote author=jana link=topic=110125.msg445002#msg445002 date=1159759572]
No, i hav designed in system(10.0.0.1) and i want to view that in (10.0.0.2). how to view that?

i hav tried by http://localhost/tst.php in (10.0.0.2)
[/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.