I believe you have to login to s2w-dev from the outside as this is server’s domain name. What server name do yo uspecify when trying to login with Spark from the server and local pc? From the server doesn’t it work with ‘localhost’ or ‘s2w-dev’? From local pc what about ‘192.168.2.20’?
If you want this server to be accessible from outside your network you need to configure it with a FQDN that can be resolved externally (chatserver.domain.com). This name must be the Openfire server name, the XMPP domain and the name used to generate the self signed certificates. This is the name that would go in the server field. the default admin username is admin. All client software must use the FQDN for the name of the server to properly authenticate to the server.
Would the fact that I see little locks behind various port numbers in the Openfire Admin Console have anything to do with my problems:
Server Ports
Interface
Port
Type
Description
All addresses
5222
Client to Server
The standard port for clients to connect to the server. Connections may or may not be encrypted. You can update the security settings for this port.
All addresses
5223
Client to Server
The port used for clients to connect to the server using the old SSL method. The old SSL method is not an XMPP standard method and will be deprecated in the future. You can update the security settings for this port.
All addresses
9090
Admin Console
The port used for unsecured Admin Console access.
All addresses
9091
Admin Console
The port used for secured Admin Console access.
All addresses
7777
File Transfer Proxy
The port used for the proxy service that allows file transfers to occur between two entities on the XMPP network.
All addresses
7070
HTTP Binding
The port used for unsecured HTTP client connections.
All addresses
7443
HTTP Binding
The port used for secured HTTP client connections.
All addresses
3478 & 3479
STUN Service
The port used for the service that ensures connectivity between entities when behind a NAT.
All addresses
5229
Flash Cross Domain
Service that allows Flash clients connect to other hostnames and ports.
Where do you disable this option? In SparkWeb? Don’t remember such thing, though i didn’t use SparkWeb for a while. If you can’t connect with that option tirned on, it means that your client can’t find server by its name, DNS is not working, it doesnt know such hostname (not in its hosts file), etc.