Connect client to evcharger #342
Unanswered
romain1906
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have configured my evcharger so that it sends a request to my server on IP 172.28.2.83:3000 but I would like my client of my application to send requests to the terminal. I use the IP that it transmits to the server to establish the connection between client and evcharger but the connection is always refused
`@Data
public class OCPPClient {
JSONClient clientChargingPoint;
private ClientCoreProfile core;
private JSONConfiguration configuration;
private WssSocket socket;
/*
socket = new WssSocket();
try {
socket.uri(new URI("wss:/"+ipStation.toString()));
socket.build();
} catch (URISyntaxException e) {
System.out.println("URI syntax error"+ e.getMessage());
} catch (IOException e) {
System.out.println("IO error"+ e.getMessage());
}*/
`
Beta Was this translation helpful? Give feedback.
All reactions