(slightly) Easier web testing from Parallels 0

Posted by Morgan

Since I do most of my work on my MacBook Pro, and take it with me just about everywhere, I always end up with new dhcp assigned ip adresses. This means that when I need to test my stuff in IE under Parallels, I first have to look up what ip I am currently assigned.

So I usually end up with a test url like: http://10.0.1.197:3000 … and then the next day, I am on another network, and end up with http://192.168.1.203:3000 … as you can tell, this get’s old very quickly.

Today I figured out how to overcome this.

In the Windows installation under Parallels simply install Bonjour for Windows

Reboot for good measure

And presto, I can now access my development server from Windows using http://morgbook.local:3000/ no matter what network I am currently on.

Tip: To find your mac’s hostname, simply type “hostname” in Terminal :-)

Comments

Leave a response

Comment