[root@sagar bin]# nc -z localhost 5000-6000
Connection to localhost 5222 port [tcp/xmpp-client] succeeded!
Connection to localhost 5223 port [tcp/hpvirtgrp] succeeded!
Connection to localhost 5229 port [tcp/] succeeded!
Connection to localhost 5269 port [tcp/xmpp-server] succeeded!
Connection to localhost 5280 port [tcp/] succeeded!
Connection to localhost 5902 port [tcp/] succeeded!
Connection to localhost 5905 port [tcp/] succeeded!
It’s not enough to set a hostname for a linux box for it to be resolvable in a local network. You have to add it to a local DNS server or to every client’s hosts file. I think you have done it already with you windows machine. Am i right? Have you added it in you C:\Windows\System32\drivers\etc\hosts ? Like:
You will have to do this for every client computer. Or you can use IP.
I’m using almost 3 years old daemon script, which i’m attaching here. It works for me. But i can’t quarantee it will work for you. I have placed it in my rc.d dir and have placed it into a daemons section in my rc.conf file (Arch Linux distribution). So you will have to figure it yourself if you can use it. Also, if you look inside the script, you will find that i have an export for a java path. So, in my case Java is in /opt/java/jre. Also, there is a line
which means that i’m running Openfire with the user “jive”. openfired (1271 Bytes)
Arch Linux is just another one of the numerous linux distributions (like Fedora, SuSE, Ubuntu, etc.) There are hundreds of distributions in the world. The main difference is in the configuration. Arch has it all in one place /etc and all configuration can be done by editing a few text files (rc.conf is one of them). This can be a hard linux version for a novice, but it is really simplistic and good linux distro. Other differencies can be rolling release system, package manager, i686/x86-64 optimization (no i386), its base install is very small and light (command line only), so i have ran my first Openfire server on a P3 500 Mhz 64MB RAM for 2 years i think (100 users).