Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

activate port 3000

edited Aug 10, 2019 12:09AM in OCI - General 6 comments

Summary

not able to telnet to port 3000 from internet

Content

This is what I have done for testing:

1.disable the firewall :

[root@instance-20190809-1438 ~]# sudo firewall-cmd --permanent --add-port=3000/tcp
success

2. Add ingress rule to allow all traffic(from source 0.0.0.0/0) with all protocol.

3. Start a session#1, created a socket as :

[root@instance-20190809-1438 ~]# nc -l 3000

4. On session#2 started from the same compute node, I'm able to telnet to it:

[root@instance-20190809-1438 ~]# telnet localhost 3000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

5. On session#2,  netstat confirms port 3000 is active:

[root@instance-20190809-1438 ~]# sudo netstat -apn |grep 3000
tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      13885/nc 

6. Within Oracle VPN, try to telnet from my laptop failed:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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