Jump to content

How to access localhost from other machines.


Recommended Posts

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

 

 

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.