go - Connecting to remote golang server -


i've been trying feels days remotely connect sockjs-go (https://github.com/igm/sockjs-go) server application i've written. i'm developing locally on windows, , works fine. when try running on remote linux server (after building on linux box, obviously), never able connect sockjs server.

  • i've tried running example echoserver web example sockjs-go repository on remote machine, , cannot connect either.

  • i made sure change sockjs client ip local machine remote machine.

  • i have right public ip address , can view static web page served lighttpd.

i've tried searching on google golang-specific, have found nothing. suggestions great.

update

i using echo test code verbatim given here: https://github.com/igm/sockjs-go/tree/v2/examples/webecho

as far can tell, linux server isn't filtering. port 8080 closed before running webecho, , open after starting webecho.

i have tried https://coderwall.com/p/wohavg/creating-a-simple-tcp-server-in-go , can connect locally not remotely. ideas why cannot connect go programs remotely, other programs have no problems connecting?

i apparently using ports weren't supported. ended running root (sudo) , binding port 80, since knew serving http traffic appropriately.


Popular posts from this blog