serve-handler icon indicating copy to clipboard operation
serve-handler copied to clipboard

Appears to only listen on tcp6

Open prographo opened this issue 5 years ago • 1 comments

Not listening on tcp4

$ serve -s build &
$ sudo netstat -tlpn | grep node
tcp6       0      0 :::5000                 :::*                    LISTEN      2045/node  

prographo avatar Feb 15 '20 13:02 prographo

Check serve for details on how to change binding... handler doesn't concern itself with bindings

      For TCP ports on hostname "localhost":

          $ serve -l 1234

      For TCP (traditional host/port) endpoints:

          $ serve -l tcp://hostname:1234

      For UNIX domain socket endpoints:

          $ serve -l unix:/path/to/socket.sock

      For Windows named pipe endpoints:

          $ serve -l pipe:\\.\pipe\PipeName

FossPrime avatar Apr 28 '21 16:04 FossPrime