I’m using Windows Server on AWS and need to open various ports for the REST server, remote debugger, and so on. I’ve configured them in the three places I’m aware of:
- Windows Firewall
- AWS Security Group
- AWS Lightsail Inbound Rules
I’ve set the ports in all three, but they’re still not open. What might I have forgotten or done wrong?
I am still not sure whether I need both the Security Group and Lightsail Inbound Rules. I am hoping that they are not interacting with each other.
REST
I got the REST Server working. Foolishly I thought that setting the inbound rule in Windows, bound to an application would be safest. But it doesn't work.
DEBUGGER
I cant get the Delphi remote debugger (PAServer) working. It needs port 64211. What have I stuffed up or forgotten.
Lightsail Inbound Rule (tied to my IP address)
Security Group (tied to my IP address)
Windows Firewall
Error at Client in the Delphi IDE, setting up Connection Profile Manager
Connection to 'host-name' on port 64211 failed. Please make sure that 'Platform AssistantServer' is running on the host machine and is configured to use port 64211
I have tried both 'static-ip' and 'host-name'. The hostname works for the REST server and the website. The Server is running and using this port. I have tested with no password at both ends, and with a password at both ends.
To show the server side is running
Platform Assistant Server Version 14.2.14.0
Copyright (c) 2009-2024 Embarcadero Technologies, Inc.
Connection Profile password :
Starting Platform Assistant Server on port 64211


