This is how javadoc mentions the definition of JReJSON
JReJSON(String host, int port)
Creates a client to the specific host/post a client to the specific host/post
but there is provision to provide password
along with host and port as only two parameters are not enough for creating client as auth is missing which is enabled through providing password