cpatte7372
asked on
Problem With Java Connection Refused
Hello Experts,
Each time I run an application I get the following error in the logs:
NetUtil.getLocalHostFromSw itch(x.x.x .x) error: java.net.ConnectException: Connection refused: connect
Can someone please show me how to resolve this issue?
Cheers
Carlton
Each time I run an application I get the following error in the logs:
NetUtil.getLocalHostFromSw
Can someone please show me how to resolve this issue?
Cheers
Carlton
A possible explanation for that is often the service to which one is trying to connect is simply not running
Could be anything, check the following.
1. Are you able to ping to that server on that port? (Provided pin is enabled on that server)
2. Is there any firewall on the server?
3. Are there any filters on the server that allows traffic from specific hosts only?
4. Is it on a local LAN or on a different network?
More details on what exactly is the server (Simple socket / web service/ etc.) would help.
1. Are you able to ping to that server on that port? (Provided pin is enabled on that server)
2. Is there any firewall on the server?
3. Are there any filters on the server that allows traffic from specific hosts only?
4. Is it on a local LAN or on a different network?
More details on what exactly is the server (Simple socket / web service/ etc.) would help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cheers