Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
433 stars 71 forks source link

WebServer can't listen on 127.0.0.1 #195

Open nmingotti opened 3 years ago

nmingotti commented 3 years ago

This problem was sent to the mailing list on 8-Aug-2021. It is here not to be forgotten.

[A] This works

wSer _ (WebServer reset default) listenOn: 3001.

[B] This doesn't work

wSer _ (WebServer reset default) listenOn: 3001 interface: #(127 0 0 1).

It is important to have [B] working because usually web servers are made to listen only locally and the public access is managed by a specialized software as nginx.