Closed dmitrystas closed 5 years ago
@aqrln please check this
@dmitrystas yeah, that's a known issue which will be fixed in the upcoming release of metarhia/jstp as a part of https://github.com/metarhia/jstp/pull/209. If you need a quick fix, I think we can make a patch for v0.6 too. Thanks for reporting it!
@belochub please review this to close or reassign
Server with protocol 'jstp' ignores the setting 'address' and always listens to all interfaces.
For example, in \config\servers.js we have
but after start port 250 is open not only on the local interface.
It`s happens because when we creating server we does not specify the host. For examle in \node_modules\metarhia-jstp\lib\transport.socket.js we have only this.port
and no hostname or ip