Build and Run to localhost instead of domain name?
Build and Run to localhost instead of domain name?
- Subject: Build and Run to localhost instead of domain name?
- From: Rob Lockstone <email@hidden>
- Date: Sat, 27 Dec 2003 01:12:02 -0800
Forgive me if this is a FAQ. I couldn't find any mention in the list
archives, but that may be because I didn't think up a good enough
query.
I've been playing around with WebObjects, going through the docs and
doing the examples. I've found that whenever I "Build and Run" a Web
Objects Web Application project from Xcode, it always uses a URL which
incorporates the internet domain name of my machine, e.g.:
http://MyHostName.com:55245/cgi-bin/WebObjects/MyProject.woa
It also picks some random port number. Well, I have both a hardware
firewall, and the OS X firewall running. So of course this never works.
I always have to change MyHostName to localhost, and then it works.
I also see this in the Run window:
Created adaptor of class WODefaultAdaptor on port 55245 and address
MyHostName.com/192.168.1.2 with WOWorkerThread minimum of 16 and
maximum of 256
I couldn't find any documentation on WODefaultAdaptor either. Is there
some setting somewhere that I could change so that the WODefaultAdaptor
uses 'localhost'? Alternatively, is there a way I could tell it to
always use the same port number? At least that way I could open up a
hole in my firewalls for that port and then it would work.
Thanks,
Rob
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.