You just need to configure the acceptor and connectors to the right IPs and ports
That is the first thing that was done, and in all other environments it runs without a problem.
Could it be that it has to be running with SSL? If yes, how is this done through the core api? any specific settings required for the connection from the client?
I just don't know how I could help you with firewal configuration. All you have to do is open the port (and JNDI port if you require so)
I have opened the port, but it still appears closed from the client, so that is why I am looking to go down the SSL route, incase there is some special configuration on the server which doesn't allow sockets to be opened unless they have a signed certificate.
So basically, I am wondering how the client connection settings look for the core api for this, because the example with the code for SSL is only for JMS.
Like Clebert says, this has nothing to do with HornetQ, you just have to make sure that the port is open so the client an connect.
There seems to be some confusion here, I am not asking for assistance with firewalls, but if I use SSL, how do I specify the keystore, etc. on the client side through the core api? Or is this not required to connect to a trusted connection??
you said you werent sure if the problem was SSL, maybe you should check that first. sounds a bit strange to me, if you have opened it then its open and a plain connection should be able to connect, maybe its just your configuration is wrong. You will be able to check this by looking at the logs to see if the client actually tried to connect or not
Any how, with the core api you set all settings on the transportConfiguration via params, look at the netty TransportConstants to see what you can set.
Sorry, crossed wires again, what I meant by the fact that the problem could be to do with SSL, is because of the configuration of the servers and firewalls, etc. on the client site. So I am attempting to find alternatives to just simply using the standard port.
I have also noticed a http connector as well, so I will also give this a try today!
And I think I've found the params, I take it these are the ones:
Thanks, and sorry again for any confusion on this thread.
Please take a look at the SSL Example on the distribution. Let us know if you don't understand after doing it.
There seems to be a bigger issue, but not sure what.
I now have it configured with http & ssl, but still nothing, the port appears closed, and this is strange, because when I launch tomcat, with exactly the same certificate, it goes through without any problem, and then running something like telnet to that port is also possible.
I have even tried to run hornetq with the port 8443, but still nothing.
I know this is outside the realm of this thread now, but if anyone has any ideas about this, or any things to try, then please let me know.