CentOS 7.5 not listing ports when added to firewall-cmd
-
@dustinb3403 Is there any services running? Without a running webserver or whatever service your want, youll get nothing with
lsof -i, or
ss -atun -
@momurda I'm just attempting to connect via telnet to make sure the ports are available before I go and add my service to this system.
-
Are you on a Windows machine doing this?
I just tried from my Windows 10 machine to linux webserver telnet hostname 80 to a computer i know has a web server running. No response, connection timed out. -
@momurda yes I am, Windows to Linux to confirm that the ports are open.
I was getting the same response.
-
Worth a shot I guess from a Fedora system for testing. . . but still doesn't make sense.
-
Works linux>linux here.
Not windows>linux. Maybe the telnet client neesd an explicit exception in Windows Firewall. -
@momurda will give it a try, just booting up this system.
-
@dustinb3403 said in CentOS 7.5 not listing ports when added to firewall-cmd:
@momurda I'm just attempting to connect via telnet to make sure the ports are available before I go and add my service to this system.
But the point of his response was unless you have something answering, it should not be open just because the firewall is not blocking. The OS will not know what to do with an attempted incoming connection unless a service is running on said port.
-
@jaredbusch Look at the OP, i have telnet listening to those ports.
-
@dustinb3403 said in CentOS 7.5 not listing ports when added to firewall-cmd:
@jaredbusch Look at the OP, i have telnet listening to those ports.
Ahh, didn't scroll enough.