简体   繁体   中英

Why am I unable to connect to openfire server from another computer?

I have a problem connecting to openfire . Following is the snapshot that shows the server properties.

在此处输入图片说明

I have my server running and i try to connect to the server (running on my pc) from another pc with the following addresses :

blab:5222
127.0.0.1:5222

but the browser says This webpage is not available . What could be the reason for this ?

127.0.0.1 always points to the address of the computer you call it on (in this case your other pc). You need to find the local IP of the server computer. If your server and other pc are on the same LAN network, go to start > run > cmd and type in ipconfig on your SERVER pc. The IP you want is probably 192.168.1.xxx. Use this on your other pc to connect to your server.

You will also need to add openfire to your firewall exceptions on the server PC. You can do this through windows firewall. Guide here

If the server pc and this other pc are NOT on the same lan, you will need to port forward your router, which means that incoming connections on port 5522 will point to your server pcs 192.168.1.xxx local IP. After you have done this Google "whats my ip" to get your EXTERNAL ip address. Or click here Still following along? This external address will point to your ROUTER, which will then FORWARD to the local address of the SERVER. Use this external address to connect from your other computer. Guide on port forwarding for your specific router here

Also, a web browser defaults to port 80 or 127.0.0.1:80, so you won't be able to see the openfire service from a web browser.

Possible reasons:

  1. Check your firewall. For checking stop your firewall for temporarily
  2. Check your browser setting.
  3. Check using ping that it works to your 127.0.0.1:5222

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM