ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    CentOS 7.5 not listing ports when added to firewall-cmd

    IT Discussion
    centos setenforce linux firewall-cmd
    3
    11
    954
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • momurdaM
      momurda @DustinB3403
      last edited by

      @dustinb3403 Is there any services running? Without a running webserver or whatever service your want, youll get nothing with
      lsof -i, or
      ss -atun

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @momurda
        last edited by

        @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.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • momurdaM
          momurda
          last edited by

          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.

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @momurda
            last edited by

            @momurda yes I am, Windows to Linux to confirm that the ports are open.

            I was getting the same response.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Worth a shot I guess from a Fedora system for testing. . . but still doesn't make sense.

              1 Reply Last reply Reply Quote 0
              • momurdaM
                momurda
                last edited by

                Works linux>linux here.
                Not windows>linux. Maybe the telnet client neesd an explicit exception in Windows Firewall.

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @momurda
                  last edited by

                  @momurda will give it a try, just booting up this system.

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @DustinB3403
                    last edited by

                    @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.

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @JaredBusch
                      last edited by

                      @jaredbusch Look at the OP, i have telnet listening to those ports.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @DustinB3403
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post