#26 Can't assign requested address: connect()

v1.3.6
closed-wont-fix
nobody
Networking (54)
5
2003-04-09
2003-02-24
No

Chicken of the VNC can not connect to VNC :-(
however VNC in stable debian can.

Discussion

  • Jason Harris
    Jason Harris
    2003-02-24

    Logged In: YES
    user_id=351330

    More details would be helpful. Note that Chicken does not
    use host:port syntax. Enter hostname (or IP) in the area
    marked "Host" and enter the display number (0-9) or the port
    (> 10) in the area marked "Display (or Port)".

     
  • Kurt Werle
    Kurt Werle
    2003-02-27

    Logged In: YES
    user_id=6449

    They tried to connect without setting a port. We should
    default to 5900 in that case.

     
  • Logged In: YES
    user_id=103626

    That's the problem :-) why does it say Display (or port)????
    I should be able to set myip.net:port and Display 12, right?

     
  • Kurt Werle
    Kurt Werle
    2003-02-27

    Logged In: YES
    user_id=6449

    For some reason, we think that you will only have as many as
    10 vnc server sessions on any box. I think we should
    consider up to 100 (why not?).

    So if you enter 12, it will try to connect to port 12. If
    you enter 10, it will try to connect to port 10. If you
    enter 0, it will try to connect to port 5900.

    You probably want 5912 - if I understand correctly that you
    want server #12.

     
  • Jason Harris
    Jason Harris
    2003-02-27

    Logged In: YES
    user_id=351330

    I believe that the VNC specification only allows for 10
    ports. Hence, the current behaviour. I think we should be
    smarter about it, though - if the user enters something
    using host:port syntax, we should use that. If they don't
    enter a port at all, we should default to 5900.

     
  • Jason Harris
    Jason Harris
    2003-04-09

    • status: open --> closed-wont-fix
     
  • Jason Harris
    Jason Harris
    2003-04-09

    Logged In: YES
    user_id=351330

    I'm going to go ahead and close this since it's not
    technically a bug - Chicken is working as it's designed to,
    the VNC specification is what's confusing.

    I'll add a feature request to support host:port syntax.