cause i took out the ip and put in the word ip. But i replced ip with
(new InetAdress.getLocalHost(),portNumber)
Type: Posts; User: Daryn
cause i took out the ip and put in the word ip. But i replced ip with
(new InetAdress.getLocalHost(),portNumber)
So does that mean my ip is wrong?Also I have also tried the hostname instead of ip
java.net.ConnectException: Connection timed out: connect
at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at...
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...