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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

connecting sockets through firewalls

  • 14-11-2003 5:08pm
    #1
    Registered Users, Registered Users 2 Posts: 7,581 ✭✭✭


    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,620 ✭✭✭ [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