im trying to connect a client to a server. The server is running, but when i try to connect the client i get this error: "Exp_Client cannot connect to Exp_Server. Connection refused to host: 127.0.0.1.; nested exception is: java.net.ConnectException: Connection refused"
the method which should connect; the marked line does not work
- I turned off the firewall
- VM-Options are: -Djava.security.manager -Djava.security.policy=/Users/Max/Documents/Uni/Bachelor/Vertiefung/Bachelorarbeit/workspace/kit-iism-experimenttool/Exp_Implementation/java.policy
- Program arguments: none
- I use IntelliJ IDEA 14.1.5
- JRE: 1.60_65
- jdk1.7.0_79
- JVM: Java HotSpot(TM) 64-Bit Server VM
- h2-1.3.176
Any ideas what the problem could be? Would be very thankful for help. Kind regards, Max