PORT not open on CentOS


Results 1 to 5 of 5

Thread: PORT not open on CentOS

  1. #1
    Join Date
    Mar 2016
    Posts
    2

    PORT not open on CentOS

    Hi.
    I am using a CentOS vmware image as a development server. It is up and running OK. It has a web application running on Tomcat and that is working correctly and I can connect to it OK. I can also connect to the OS using WinSCP.
    The problem is that there is an application running that uses a specific port that I need to be able to connect to. The application is working using that port. However when I do a port scan that port does not show up. I want to be able to connect to it using a windows application.
    The port (1489) does show up when I do the following:
    cat /etc/services | grep 1489
    dmdocbroker 1489/tcp # dmdocbroker
    dmdocbroker 1489/udp # dmdocbroker

    And:
    # netstat -anp | grep 1489
    tcp 0 0 127.0.0.1:1489 0.0.0.0:* LISTEN 4139/./dmdocbroker
    tcp 0 0 127.0.0.1:1489 127.0.0.1:42346 TIME_WAIT -
    tcp 0 0 ::1:1489

    The firewall is disabled (System > Administration > Firewall)

    The environment is:
    CentOS
    - Release 6.5 (Final)
    - Kernel Linux 2.6.32-431.3.1el6.x86_64
    - GNOME 2.28.2

    Thanks in advance!
    Peter

  2. #2
    Join Date
    Oct 2002
    Location
    AZ, USA
    Posts
    110
    It is listening on the LOOP_BACK network. Check the config file for the service and configure it to use the external IP.

  3. #3
    Join Date
    Mar 2016
    Posts
    2

    Red face

    Quote Originally Posted by JRefL5 View Post
    It is listening on the LOOP_BACK network. Check the config file for the service and configure it to use the external IP.
    Thanks. That was the problem. I made a change and it's working correctly now.

  4. #4
    Join Date
    Feb 2018
    Posts
    1
    Quote Originally Posted by FastPeter View Post
    Thanks. That was the problem. I made a change and it's working correctly now.
    I'm also facing the same with.
    Please help me out by letting me the files where you made the update.

  5. #5
    Join Date
    Jun 2017
    Posts
    3
    Glad that I found a solution here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  









×
By using this site, you agree to the Privacy Policy