I have a Python script on my server which opens a socket that can be connected to from anywhere. It works on my digitalocean test server that has a public IP as shown by ifconfig. It does not work on my work server which is behind a router and perhaps a firewall (ifconfig shows a private IP)
Do I need to mess with the router settings and allow port forwarding?
I have installed apache as my understanding is that it's needed to do anything with web (like sockets), although I am not hosting any webpages or browser based stuff, just the socket.
Thanks