- Environment
- Tomcat is installed and operated separately on an EC2 instance.
- Remote access to the EC2 instance running Tomcat is made from an on-premise VDI, not through a Bastion host.
- When attempting to restart Tomcat after remotely connecting to the EC2 instance from the on-premise VDI, a Tomcat shutdown error occurs.
- Action
- Add Tomcat port to the Security Group of the EC2 instance running Tomcat as a loopback
- Source: Security Group of the EC2 instance running Tomcat (Loopback)
- Registered ports: Inbound rule: TCP / 8005, 8009, Outbound rule: TCP / 8009
- Add Tomcat port to the Security Group of the EC2 instance running Tomcat as a loopback