28. Network troubleshooting ‐ Two Server in the same subnet, There is issue to reach port on one of the server - SanjeevOCI/Ocidocs GitHub Wiki

Network troubleshooting - Two Server in the same subnet. There is issue to reach port on one of the server

Scenario - We have 2 instances in the subnet. They can reach each other on Port 22, but not on port 3050

Telnet_Port_22_3050_2

  1. Both ports 22 & 3050 are allowed in Ingress Rule. But still telnet to port 3050 is not working.

Telnet_Port_22_3050_1

  1. To allow access to the Port 3050, We need to install firewall in the server. This can be achieved by using the utility called firewalld. Use the below command to install firewalld, if not already installed

yum install firewalld

firewalld already installed

  1. Check the status of Firewalld using "systemctl status firewalld". If not active, use the command "systemctl start firewalld" to activate it.

firewalld status

  1. Add port to firewalld

Add ports in firewalld

  1. List the ports

firewall-cmd --list-ports

List ports in firewalld

  1. Even after allowing Port 3050 in firewalld, telnet to port 3050 is not working. This is due to the fact that no application is listening on port 3050

Telnet_port 3050 not working_1

Telnet_port 3050 not working_2