Re: Development mode URL format question
Re: Development mode URL format question
- Subject: Re: Development mode URL format question
- From: Ray Ackland <email@hidden>
- Date: Fri, 3 Dec 2004 09:51:54 +1300
Vincent,
When you say that "http://localhost:etc etc" works, you mean the
windows machines can work with the app? This would surprise me (but I
may have learnt something new).
The problem - as you already suspect - is that the PCs get given a URL
with a domain name. They then turn to their DNS for the ip address, but
have no luck as the DNS has no listing for your machine.
What you can do to get it to work is to add a hosts file on their
machine (the OS checks this first before going to the external DNS).
Unfortunately I can't remember where Windows stores this file. Can
someone else fill in this part for me?
Hope I have added some hope.
r
On 03/12/2004, at 1:05, Vincent Coetzee wrote:
I am currently developing a web objects app. At work most of the
machines are Windows machines, and I am forced to retrieve my IP
address (which is static) via DHCP. Mostly I am unaware of the fact
that I am on a "windows networks". My machines name is "aspect". When
I run my WebObjects app, the URL that XCode / WebObjects generates
when it opens the app in Safari is of the form "http://aspect.local:
etc etc". The lookup of aspect.local fails, presumably because the
DHCP server (or whatever is acting as the local DNS) does not know
what aspect.local means. This same URL works perfectly when I am at
home on my Mac only network. If I change the URL to be
"http://localhost:etc etc", then everything works. What do I change
where to get this default to change to localhost, is it a Mac OS X
setting or a WebObjects setting.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden