ofxLibwebsockets : Failed to connect to remote server

ofxLibwebsockets::Client client;

client.connect(ws://114.117.203.47:40001/test/one, true);
client.addListener(this);

The verbose log i’m getting from OF is:
[ error ] [ofxLibwebsockets] client connection failed.

I am not sure if this is the issue but I had issues using ofxLibwebsockets with SSL.