Jan. 30, 2017
2:58 p.m.
2017-01-30 15:45 GMT+01:00 Sven Van Caekenberghe <sven@stfx.eu>:
2017-01-30 14:16 GMT+01:00 phil@highoctane.be <phil@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.
Thank's Sven. I will add suitable method to start Pharm server