imi_99 Posted June 25, 2008 Share Posted June 25, 2008 How to access localhost from other machines. I have installed an apache/mysql/php on one of my machine which can be accessed using address like http://localhost/invoicces/index.php I have 7 pc all connected to the internet using one router. is there anyway i can set a ip address on one machine and access my invoices from all other machines. thanks ??? Note : all machine have installed windows xp home edition Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 25, 2008 Share Posted June 25, 2008 If all the computers on the network can see each other someplace under "My Network Places" (they are all using the same Workgroup name), then try using the computer's "name" that it appears as in "My Network Places". If the computer's name is "yourname", try this - http://yourname/invoices/index.php Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/#findComment-574124 Share on other sites More sharing options...
rhodesa Posted June 25, 2008 Share Posted June 25, 2008 If all the computers on the network can see each other someplace under "My Network Places" (they are all using the same Workgroup name), then try using the computer's "name" that it appears as in "My Network Places". If the computer's name is "yourname", try this - http://yourname/invoices/index.php this should work...you can also get the computers name by typing in 'hostname' on a DOS prompt if it doesn't work, try using the computers IP address. this will determine if Apache and any firewalls you have are configured properly. to get your IP, type 'ipconfig' into a DOS prompt. Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/#findComment-574129 Share on other sites More sharing options...
imi_99 Posted June 25, 2008 Author Share Posted June 25, 2008 It realy worked thanks, I never thought it will be that simple, I allowed firewall and lastly configured httpd.conig which is apache file, <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow allow from all </Directory> Last line change to " allow from all" which was by dafault"deny from all" Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/#findComment-574517 Share on other sites More sharing options...
imi_99 Posted June 27, 2008 Author Share Posted June 27, 2008 I am stuck again with totally new issue. I have noticed that in my php files get and post method do not work. How will these gonna work. Without it i will not possible to run the application. any idea. thanks Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/#findComment-576228 Share on other sites More sharing options...
rhodesa Posted June 29, 2008 Share Posted June 29, 2008 ...you should start a new topic in the PHP Help area... but what do you mean they "don't work"...there is no reason they should work on localhost and not from other computers Quote Link to comment https://forums.phpfreaks.com/topic/111833-how-to-access-localhost-from-other-machines/#findComment-577098 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.