How do I connect to openfire server as a client ? I have installed openfire on my machine and want to connect to the server from another machine.
Both the machines are on the same LAN. Basically I want to create a new user by signing up.
How do I connect to openfire server as a client ? I have installed openfire on my machine and want to connect to the server from another machine.
Both the machines are on the same LAN. Basically I want to create a new user by signing up.
It is depend on client api. I used smack. In smack API, you can use org.jivesoftware.smack.ConnectionConfiguration
for connection.
The default port is 9090 for the web-based admin console of open-fire server.
http://127.0.0.1:9090
Try as below example :
ConnectionConfiguration config = new ConnectionConfiguration("localhost", 5222);
connection = new XMPPConnection(config);
Update You need to plugin to Openfire Server for User Service.
@saplingPro I think there is a confusion about what OpenFire is.
Openfire is an open-source XMPP server.
This means it provides the means to handle XMPP protocol connections. Those would be done by "chat client implementations" . But the server does not provide the implementation itself, only the backend for that. If you are looking for a webchat, you can take a look at this: