PDA

View Full Version : Server id vis-a-vis network domain


joec0914
06-14-2008, 07:57 PM
I've just set up an OpenFire Jabber server on my PC (Windows XP OS), which is on my local wireless network. It has a local IP address on the network of 192.168.1.107. When I set up the openfire server, though, I set the local computer name to the name the computer itself has a local network name of 'joehome'. Finally, through the linksys router, the internal network has an external IP address of 71.235.246.155.

I've opened up port forwarding from the internet to the 5222 and 5223 ports on the 192.168.1.107 node on the local linksys wireless network.

On the jabber server, I created two accounts, one of which was joec0914, a regular user account.

Ok, then I went to my MacBook, also on the local net by wireless, and tried to connect my iChat client to my accoount joec0914 on my PC jabber server which are on the same local network. I tried both 'joec0914@joehome' and 'joec@71.235.246.155'. With neither did I see any reaction from the server.

So, I haven't yet tried 'joec0914@192.168.1.107' yet. Maybe that will do it? Anyway, I'm just wondering what the relationship is between the server's IP address on the network to its "local" name that you give. In other words, what do I use for a domain to try to send my account there a message?

Thanks for tolerating yet another stupid noob question.

JoeC

joec0914
06-14-2008, 08:01 PM
By the way, in iChat, all these accounts show up as "Waiting for authorization".

Yet, I get no messages on the server indicating anyone has requested authorization.

florian
06-15-2008, 11:27 PM
This won't work. Jabber checks, unlike E-mail, from where a message comes from. As you have set your local domain in openfire to: joehome. If now an external server tries to resolve that, he won't be able to find anything.

I would simply set up an dyndns and forward that.

joec0914
06-16-2008, 05:03 PM
Thanks for your response, which was very helpful. After resetting the server address to 192.168.1.107 and creating two accounts, I am now able to communicate back and forth between iChat on my macbook and Spark on my PC. Excellent!!

Clearly, to work with clients elsewhere on the net, like gTalk, I should create the dyndns as you suggested. For internal development though, the local IP would seem to be fine.

Now, to figure out how to turn on debugging output in the OpenFire server....

Thanks again,
JoeC

noccy
06-18-2008, 08:41 PM
http://freedns.afraid.org - Register a free dynamic DNS there and have it point to your IP :)

florian
06-18-2008, 08:48 PM
Alternatively, you can get a domain and hosted jabber at Flosoft.