The jndi server takes any open port ignoring the port passed by the user

Need to clean this up in the future