Seaside Servlet Server listening on localhost only

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Seaside Servlet Server listening on localhost only

Santiago Cardoso Geller-3
Hi all!

I want to start a Seaside Servlet Server listening on 127.0.0.1 address only. By the moment I only found a way of doing that by editing the method WASstServerAdaptor>>#createService, changing from this:

^ WASstHttpServletEngine at: self protocol, '://:', self port greaseString for: self     "$NON-NLS$"

to this:

^ WASstHttpServletEngine at: self protocol, '://127.0.0.1:', self port greaseString for: self     "$NON-NLS$"


Does anyone know what is the way to setup this properly without the need of change this method? I couldn't find where to pass the initialized endpoint to the handler before the server socket bind occurs.

Thank you,
Santiago


PS: I'm using VASmalltalk 8.6.2 for Windows and AIX.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.