adhoc laptop-to-laptop, running apache
- Started
- Last post
- 6 Responses
- era4O4
I have apache running on a laptop running Vista and have established an adhoc network between this laptop and another. I can browse the web sites running on apache, but each hit takes 10-30s to return to the other wirelessly connected laptop...Any way to speed this up?
- acescence0
are you using a hostname or an ip address to access the sites?
- era4O40
hostname.
- acescence0
have you tried using the ip address? do you have a hosts file mapping the hostname to the ip address? i imagine the delay is a result of it trying to resolve the hostname to an ip
- era4O40
how do I do this acescence? link?
- acescence0
the easiest solution is to figure out what the IP address of the machine running apache is (open the command prompt on that machine and type ipconfig), then use that ip address in the url of the machine accessing it, ie:
http://192.168.1.1/whateverpage.…
... where 192.168.1.1 is whatever the IP address happens to be.
keep in mind that if you are using DHCP to get IP addresses on your local network, the address may change when you reboot the machine.
- Thanks, man. works like a charm and much faster than using /localhost/. I don't suppose there's a way to speed up the domain mapping to IP instead of having to re-enter the dynamic IP each time. I have to change config files for root directories when browsing with a dynamic IP.era4O4