Lightsail Port forwarding

0

I've written a Windows .exe file which listens using Windows sockets for client connections on port 4897, in order to forward TCP packets between mobile phones to play one of my networked games. It works fine on my Windows laptop, but I have to configure my router to forward the packets on from the router to that specific laptop.

I wanted to set the .exe file up on a Windows virtual Lightsail instance instead. I have it up and running, I've set up a static IP address, and I went to to the Networking | Firewall settings and added a rule to allow TCP packets on port 4897. But mobile phones don't seem to be able to connect to the .exe file still. I'm not sure what I'm doing wrong?

1 réponse
0
Réponse acceptée

All I needed to do was go into Windows Defender Firewall and select Advanced Settings | Inbound Rules | New Rule | Port and added the port number there

répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions