[Seaside] Re: Re: Swazoo as reverse proxy?
rbb at techgame.net
Wed Feb 13 19:23:46 UTC 2008
Avi> This is a one line change to Kom. Look at #pvtNewListener: . The
Avi> send to #listenOn:backlogSize: can be changed to
Avi> #listenOn:backlogSize:interface: . For example:
I just spent about an hour trying to see my seaside app running in
Parallels on XP from other machines on my network, trying various network
configs and finally just booted into windows to try it from there. I still
couldn't see it except on localhost, and thought... "No, I didn't put that
Kom change in there..." and found:
"Create a new socket that listens on our port. The backlog is how many
connections to accept at the same time"
| listener |
listener := self socketClass newTCP.
self socketsToDestroy add: listener.
listener listenOn: portNumber backlogSize: backlogSize interface: #(127 0
0 1) asByteArray.
... from avi 2/5/2006 18:23
so it was only binding to localhost (127.0.0.1).
Very, very strange :)
More information about the seaside