Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all. I need to install an application (manatee corpus manager in case you know it) to a server. The app accepts at port 5016. I had the port opened ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Sixtease's Avatar
    Join Date
    Jul 2007
    Location
    Prague, Czech Republic
    Posts
    2

    opening a port


    Hello all.

    I need to install an application (manatee corpus manager in case you know it) to a server. The app accepts at port 5016. I had the port opened in firewall (the admin did it). xinetd was configured. I get "connection refused" though.

    I tried nmap to see if the port was open. nmap did not mention 5016. I removed the manatee xinetd entry and opened an ssh tunel on that port

    Code:
    ssh -gL 5016:localhost:22 localhost
    Now I can do
    Code:
    ssh -p 5016 quest.ms.mff.cuni.cz
    I am prompted for password and I log in OK. Why does nmap never mention port 5016 even though it obviously is open and ssh listens on it?

  2. #2
    Just Joined! Sixtease's Avatar
    Join Date
    Jul 2007
    Location
    Prague, Czech Republic
    Posts
    2

    Problem solved

    OK, I solved it. I still don't know why nmap ignores ports where ssh tunnels are made but it just seems to be the case. My problem was in something completely different than a closed port - /etc/services contained some characters that looked like spaces but were really not (probably some unicode garbage), so xinetd didn't parse the appropriate line. The key hint was trying to connect and then inspecting /var/log/messages

Posting Permissions

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