You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

Still Cannot Connect to Ports XXXX Even After Adding to VCN Security Rules and IPTables Rules

edited Jun 30, 2022 7:12AM in Linux

Applies To:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86-64

Symptoms:

Connections to certain ports still fail even when they are allowed in VCN security list/rules, and are also added to IPTables rules for target ACCEPT.

In this particular example, TCP ports 5500 and 5501 are intended to be open to traffic, but are still blocked.

[root@client ~]# nc -4v <server_ip> 5500
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection timed out.
[root@client ~]#
[root@client ~]# nc -4v <server_ip> 5501
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection timed out.
[root@client ~]#

Changes:

Added TCP ports 5500 and 5501 to VCN security list/rules.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!