I'm trying to set up a socket server on a ubuntu machine. I've been setting up the same server-script on my own machine where it works perfectly. In my router i forwarded port 10007 to the right machine and bind the ip to my local ip (192.168...:10007).
Now i need to set it up on a dedicated server though and that is where the problems start. I don't seem to have a local ip on the server, atleast ifconfig won't show me one. I've tried to bind to the public ip instead or to 127.0.0.1 or 0.0.0.0, that works fine if i telnet from the same machine but not from another machine. Anyone knows how to solve this? Do i need to set up some sort of port forwarding?