Search:

Type: Posts; User: Daryn

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    1,504

    Re: Problem connecting socket to port

    cause i took out the ip and put in the word ip. But i replced ip with
    (new InetAdress.getLocalHost(),portNumber)
  2. Replies
    8
    Views
    1,504

    Re: Problem connecting socket to port

    So does that mean my ip is wrong?Also I have also tried the hostname instead of ip
  3. Replies
    8
    Views
    1,504

    Re: Problem connecting socket to port

    java.net.ConnectException: Connection timed out: connect
    at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
    at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    at...
  4. Replies
    8
    Views
    1,504

    Problem connecting socket to port

    I keep getting an error when I try to connect my client to my server
    It times out and wont connect giving the standard IOException
    Server

    import javax.swing.JFrame;
    import...
Results 1 to 4 of 4