Cannot connect to server

Discussion in 'Server & Community Management' started by siab97, Jun 15, 2015.

  1. Hey guys i just started my server on my server computer then went back on my laptop and i cant connect to the server. when im on the server computer then i just type in localhost and it works but when im on my laptop i type in my ip and it should work right? im on the same network so i dont need to port forward right?

    This is the error i get:

    Java.net.connectException: connection refused: no further information:

    anyone know what i need to do to get the server going?
     
  2. Firewall? Did you port forward it correctly or are you using your network IP to connect?
     
  3. what exacly am i supposed to do in the firewall? i added new rules in the firewall where i opened a port. i cant access my router so i cant port forward. and i am using my network ip when im trying to connect
     
  4. Does the console outputs any error when you try to join?
     
  5. it does not say anything when i try to connect:/
     
  6. You have opened the port of the router?
     
  7. AngelRani

    Supporter

    Go on the server computer and find out what the IPv4 address is and write it down. Then on your laptop enter the server IPv4 address and the server port.

    For example:
    Say I am hosting a server and the IPv4 address of the computer hosting it is 192.168.1.119 and the server port is 25565.
    On another computer, I would type in 192.168.1.119:25565 to connect to the server.
    If you are connecting to a server on the same network, you always use the IPv4 address and not the public IP address or it will not work. The public address would only work if you have port forwarded your router.
     
    • Agree Agree x 1
  8. You need to port forward you server.

    If you're using a Mac, I can personally teach you step by step on how to port forward you server.

    If you're using a Windows, I will gladly link you to tutorials on how to port forward your server.
     
  9. AngelRani

    Supporter

    If you have Windows, I can give you further details if needed. If you have a Mac, @FinalScar can help you. As for Linux, you should be able to find some tutorials.
     
  10. Are the ports open in the firewall?
     
  11. AngelRani

    Supporter

    Please read the previous responses before posting.

     
  12. Inbound AND outbound ports open?
     
  13. Thanks man it worked!:D
     
    • Like Like x 1
  14. AngelRani

    Supporter

    You're welcome! :D