• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes

Problem :

Today I was testing Server and Client code on different machine. Both were on same Wi-fi network.

I created clients and got this exception for many threads :

java.net.ConnectException: Connection timed out: no further information

by (6.9k points)  

1 Answer

0 votes

Solution :

This means your request did not get a response within some default time frame. The reasons that no response was received is likely to be one of:

a) The IP/domain or port is incorrect

b) The IP/domain or port (i.e service) is down

c) The IP/domain is taking longer than your default timeout to respond

d) You have a firewall that is blocking requests or responses on whatever port you are using

e) You have a firewall that is blocking requests to that particular host

f) Your internet access is down

by (36.1k points)  
edited by