Using a specific NIC on a server with 2 NIC''s

I want to use a specific NIC for the wildfire server but it always grabs the second NIC connection…

NIC one – 192.168.1.116

NIC two – 192.168.2.116

I want it to grab the 192.168.1.116… but I cant figure out how to get it to just use that one NIC… I tried to go into the xml file and added the 192.168.1.116 address but it still used the other address…

I cant connect s2s because of this… if I disable the second NIC (192.168.2.116)… then s2s works fine…

I cant find anything on how to do this…

Message was edited by: dslider

This is what I use, at the top of my openfire.xml

I have already tried this and it doesnt work… it still grabs the other NIC … I uncommented that part of the file also…

is there another way?

Weird I do this on a Linux machine with close to 30 ethernet interfaces and it works fine.

I have since fixed the issue… I was using wildfire and when I installed Openfire it started to work fine… think the wildfire was corrupted somehow…

Now i need to change the admin console to the correct address… is there a way to get it to load to http://192.168.1.11/admin or whatever instead of the http://127.0.0.1/admin ???

Hi,

with “” you can make sure that Openfire uses only this address to bind. After a restart of Openfire “netstat -an|grep 5222” will show that it is binding to 192.168.1.116:5222 instead of 0.0.0.0:5222. Your kernel may however still use the other interface for outgoing connections depending on your routing table. If your default route uses the other interface than it will likely be used.

LG

Note that earlier versions of Wildfire displayed the wrong IP address in the web interface, even though it actually did the Right Thing™.