> On 30 Jan 2017, at 15:39, Denis Kudriashov <dionisi...@gmail.com> wrote:
> 
> 
> 2017-01-30 14:16 GMT+01:00 p...@highoctane.be <p...@highoctane.be>:
> How can we start PharmIDE server so that it binds to localhost only on the 
> server?
> 
> I do not know if it is possible from Pharo. Anybody know example with "Socket 
> newTCP"?
> With "external OS tools"  you can always hide port from outside world. Try to 
> google it.

It is in your image already !

See ZnServer>>#bindingAddress: and 
ZnSingleThrededServer>>#initializeServerSocket

In use in ZnServerTests>>#testEchoLocalInterface

You will understand immediately, it is quite easy.

Remember that once you start like that, you will only be able to connect 
locally.

Reply via email to