Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

connecting sockets through firewalls

Options
  • 14-11-2003 6:08pm
    #1
    Registered Users Posts: 7,580 ✭✭✭


    I've tried everything I've found so far to do it, and I keep getting time out errors i.e not connecting.
    _______________
    System.getProperties().put("http.proxySet","true");
    System.getProperties().put("http.proxyHost","proxy1.ucd.ie");
    System.getProperties().put("http.proxyPort","8484");
    _______________
    being a typical example, setProperties() as well, for each of those.
    Am I putting it in the wrong place? I'm not putting it in the connecting class, but in the class which is controlling the whole "shebang".
    Cheers


Comments

  • Posts: 3,621 ✭✭✭ [Deleted User]


    Could be a couple of things, I don't know how that proxy is set up so.. What sort of connection are you opening?

    1. The proxy does not support socket connections. It may only be a http (web) proxy. Socks is a proxy protocol that supports socket connections. Some http proxys can be made act like SOCKS proxys using software such as httport http://www.httport.com
    or
    Socks2http
    http://www.totalrc.net

    2. You may need to give the proxy a username and password.

    Good Luck


Advertisement