Page 1 of 1
[SOLVED]connecting from another pc....
Posted: Tue May 17, 2005 7:30 am
by pleigh
is it possible for me to connect to my php pages from another pc?to be clear....for example, this is my pc were i work all of my php pages, and someone from within our workgroup would like to view my page from another pc...i tried to do this
http://my.ip.address:8080/myfolder/index.php
but it returned me nothing...
is it possible for them to view my page??if yes, how?i also believe that the port i'm using is 8080, but how will i know what port i'm using?
many thanks...[/quote]
Posted: Tue May 17, 2005 7:35 am
by malcolmboston
leave out the port number, now try it, i know its possible because i do it
but as far as i know, i didnt configure it in any special way
i also helps if you make sure apache is running
edit: also if its linux, make sure correct file case is used
Posted: Tue May 17, 2005 7:38 am
by pleigh
yes...tnx....i tried to remove the port...but nothing happened....anymore ideas??

Posted: Tue May 17, 2005 7:40 am
by malcolmboston
it could be a permission issue, did you set it up to only allow access from 127.0.0.1? (localhost)
also if its on linux, check file case
Posted: Tue May 17, 2005 7:43 am
by pleigh
it's windows im using....how will i know if i set the permission you are pointing??thanks again...

Posted: Tue May 17, 2005 7:47 am
by malcolmboston
cant remember the actual command but its at the bottom of httpd.conf called something like:
allowed_hosts:
if allowed_hosts is set like
allowed_hosts: 127.0.0.1
then it will only allow connection from your own machine, you want to be using something like
allowed_hosts: *
Posted: Wed May 18, 2005 5:55 am
by pleigh
thanks....i am using IIS here...
Posted: Wed May 18, 2005 6:30 am
by pleigh
can i ask what the configuration is if i am using microsoft IIS?
Posted: Wed May 18, 2005 6:41 am
by JayBird
are you connect to the internet though a router or just a modem?
If you are using a router, you will need to set up portforwarding.
Or is all this on a local network?
Posted: Wed May 18, 2005 6:43 am
by pleigh
yes, i am connected to a router...i don't have any idea about configuring portforwarding...can you teach me??
tnx a lot...
Posted: Wed May 18, 2005 6:47 am
by John Cartwright
Posted: Wed May 18, 2005 6:49 am
by pleigh
oh yah...slipped my head...hehehe...thanks...

Posted: Wed May 18, 2005 6:55 am
by pleigh
i read some articles, but is it necessary for me to configure the router where all i want is that the computer next to my table can view my pages...as well as the other computers connected to our VPN
Posted: Wed May 18, 2005 8:20 am
by JayBird
This is how our office network is setup.
We have 10 computer all networked.
Each computer has an assigned IP address.
1 of these computers acts as the server and its IP address is 192.168.1.2
to access the PHP pages that are on that server from any other machine, all i do is type
http://192.168.1.2/ into my browser.
You will not need to configure your router if this is the setup that you are aiming for becuase you aren't making and outside connection to the internet...it is on you local network.
Posted: Wed May 18, 2005 8:34 am
by pleigh
disabling the firewall from my computer solved the problem...thanks guys for the ideas....
