Re: "Connection refused" unless port open

From: Bob (bob.lockie.NOSPAM_at_mail.com)
Date: 04/28/04

  • Next message: Thomas Wolf: "Re: SSH and Lawson Insight desktop (LID)"
    Date: Wed, 28 Apr 2004 12:10:16 -0400
    
    

    On 04/28/04 00:30 Richard E. Silverman spoke:
    > This is way too vague to diagnose. Give a complete & detailed description
    > of the hosts, routers, packet filters, and SSH commands involved, as well
    > as relevant debug traces.
    >

    Machine A is on the Internet and runs:
    ssh -vvv -l root -L 25:B:25 -L 110:B:110 B

    debug1: Connection to port 110 forwarding to B port 110 requested.
    debug2: fd 9 setting TCP_NODELAY
    debug2: fd 9 setting O_NONBLOCK
    debug2: fd 9 is O_NONBLOCK
    debug1: channel 3: new [direct-tcpip]
    channel 3: open failed: connect failed: Connection refused
    debug1: channel 3: free: direct-tcpip: listening port 110 for B port
    110, connect from 127.0.0.1 port 43148, nchannels 4
    debug3: channel 3: status: The following connections are open:
       #2 client-session (t4 r0 i0/0 o0/0 fd 6/7)
       #3 direct-tcpip: listening port 110 for B port 110, connect from
    127.0.0.1 port 43148 (t3 r-1 i0/0 o0/0 fd 9/9)
    debug3: channel 3: close_fds r 9 w 9 e -1

    Machine B is a server behind a Linksys WRT54G router with ports
    22/tcp, 25/tcp, 53/tcp, 80/tcp, 110/tcp
    open to the inside LAN.
    The router has ports
    22/tcp, 25/tcp, 53/tcp, 80/tcp, 443/tcp
    open to the Internet.

    If I open port 110 on the router, I can forward port 110 from B.

    Is this better?

    -- 
    -------------------------------------------------------
    Remove .NOSPAM from my email address to reply directly.
    

  • Next message: Thomas Wolf: "Re: SSH and Lawson Insight desktop (LID)"

    Relevant Pages

    • Re: D link DI-784 router
      ... I did the reset and lost the connection. ... changed channel to 40. ... I went into router configuration, ... Local ports 1-4, all are on and steady, port 1 is the only one used. ...
      (microsoft.public.windows.mediacenter)
    • Re: Using Remote Desktop From an SBS Domain
      ... when you tried to RDP while attached directly to a port on your router? ... So if 3389 needs forwarded on the client end too then that is what the ... Hopefully next week I can attempt a connection while my ISP watches the ...
      (microsoft.public.windows.server.sbs)
    • Re: D link DI-784 router
      ... I tried channel 64, with pretty much the same result as before when I ... The connection was good for 15 minutes, then was lost with the A band enabled. ... Do you think this may just be a router failure? ... Local ports 1-4, all are on and steady, port 1 is the only one used. ...
      (microsoft.public.windows.mediacenter)
    • How did they get behind my NAT?
      ... this point I panicked and shutdown the VNC service ASAP. ... My question is how the attacker got to my VNC port! ... the internet through the router. ... client connection using local port number 5900 (which was also being ...
      (alt.computer.security)
    • Re: Connecting to Home Computer
      ... cannot transmit IP packets outside the local network). ... assigned by your router. ... You have to add the port too, ... Determine the ports (pcAnywhere uses 5631 for DATA, 5632 for STATUS, I ...
      (microsoft.public.windowsxp.work_remotely)