I suspect the firewall you are using employs Network Address Translation, which means you need to ensure you have created a policy on the firewall to forward the incoming connection to port 31339 to the private IP address of the system you are using to listen on port 31339.

Can you confirm the firewall is properly configured to forward this port to the system you are using to listen for the incoming connection?