Cirkus Serveri Forum
    • CoD4xAdmin
    • Recent
    • Popular
    • Groups
    • Users
    • Register
    • Login

    server port is not visible to outside

    Scheduled Pinned Locked Moved
    Support
    2
    4
    340
    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.
    • F
      fxamila
      last edited by

      Hi,
      I was able to install the server on my ubuntu VPS. When I create a server and start it, it shows started on the specified port. But it is not visible to outside.( Port is closed. )

      I have tested the same port(28960) with a simple http server using python to make sure my firewall blocks it or not. I can see the http server on the 28960 port when python server runs. Which means nothing blocks the port.

      I guess this is some kind of permission issue or something I missed during the installation.
      @NeHo can you please help understand and fix it?

      NeHoN 1 Reply Last reply Reply Quote 0
      • NeHoN
        NeHo Administrators @fxamila
        last edited by

        @fxamila servers are started with "screen" make sure you have it installed

        You can always start the server manually, you should have a new directory called cod4-2860, navigate there and try to start the server manually, if there is any file missing you can see it in console

        Try it out manually, copy/paste the start-line from the website (admin section, then go to server edit you will see the line)

        I keep hitting the 'Escape' key - but I'm still here. ...

        1 Reply Last reply Reply Quote 0
        • NeHoN
          NeHo Administrators
          last edited by

          If the server is running make sure your port is not blocked by firewall

          You can see opened ports with next command

          sudo ufw status
          

          To open the port use this command if it is not listed in status

          sudo ufw allow 28960
          

          But before you start to play with ports try to start the game server manually so that you are sure it runs

          I keep hitting the 'Escape' key - but I'm still here. ...

          F 1 Reply Last reply Reply Quote 0
          • F
            fxamila @NeHo
            last edited by

            @NeHo
            I tried the manual approach and found the issue. in the command line there was the +set net_ip <my_ip_address> and it was not able to bind to the IP. So the server was terminated with error.

            When I removed that option from the command it starts without error, Now I can see the server from internet. Looks like the problem is solved. Thanks Man.

            -Amila

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

            0

            Online

            191

            Users

            268

            Topics

            1.2k

            Posts
            Powered & Designed by NeHo