Jump to content

Archived

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

jana

how to view my php page in intranet

Recommended Posts

i am new to php and mysql. i have installed WAMP and i hav designed a page in php and i want view that page in other system over intranet.

can any one tell me how to configure that?

Share this post


Link to post
Share on other sites
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)

the reply by the borwser was.

permission denied

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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..

Share this post


Link to post
Share on other sites
[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]

Share this post


Link to post
Share on other sites

×

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.