I don't think it's a network problem.  I've got Zope running on port 80 of
this same VM and can access it from any of the other computers.  I thought
it might be related to using a different port than 80 so I stopped Zope and
tried running the development server on 80.  That didn't work either.

This is really strange.  I always thought that when you run a server on
localhost, it accepts all requests directed to the machine it's running on.
With the Zope server, I don't define an address at all.  When I run the
server, it accepts any requests to the localhost.  It doesn't matter if I
access the machine locally using localhost or 127.0.0.1 or access it
remotely using the actual external IP address of 192.168.1.117.  It works
either way.  The Django development server must be doing something different
but I don't understand what.  How does it even know if the browser
connecting to it is coming from the local machine or some other external?
And if it does know, why would it care?

-----Original Message-----
From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
On Behalf Of CLIFFORD ILKAY
Sent: Wednesday, March 04, 2009 11:38 AM
To: django-users@googlegroups.com
Subject: Re: Accessing the development server from another machine.

Joe Goldthwaite wrote:
> My main development is done in a Windows virtual machine
> running on a Macbook Pro. Today I wanted to test the output with Safari.
[snip]
> It looks like it's working but when I enter the address in the browser I
get
> a connection timeout error. The server never gets the request. I'm not
> running any firewall.

This is quite likely a problem with the network between your virtual
machine and the physical machine. With virtualization, you have multiple
ways of setting up the network between the VM and the hardware host and
not setting up a network is even an option with some virtualization
schemes so you must ensure that OS X and the Windows VM can see one
another on the network first.
-- 
Regards,

Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada  M4N 3P6

<http://dinamis.com>
+1 416-410-3326


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to