Jump to content
  • 0

LAN clients show they logged in on logs, but their client eventually times out with "Failed to connect to server"


Tarodev

Question


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/08/24
  • Last Seen:  

I get this in my server logs:
 

[Status]: Request for connection of test1 (ip: 192.168.0.202)
[Notice]: Authentication accepted (account: test1, id: 2000002, ip: 192.168.0.202)
[Status]: Connection of the account 'test1' accepted.
[Info]: Closed connection from '192.168.0.202'.

But their client doesn't continue beyond and just times out. 

 

My setup

map_config:

char_ip: 127.0.0.1
bind_ip: 127.0.0.1
map_ip: 192.168.0.51

chat_config:

login_ip: 192.168.0.51
bind_ip: 127.0.0.1
char_ip: 192.168.0.51

subnet:

subnet: 255.0.0.0:127.0.0.1:127.0.0.1


 

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1826
  • Reputation:   288
  • Joined:  08/03/12
  • Last Seen:  

1 hour ago, Tarodev said:

I get this in my server logs:
 

[Status]: Request for connection of test1 (ip: 192.168.0.202)
[Notice]: Authentication accepted (account: test1, id: 2000002, ip: 192.168.0.202)
[Status]: Connection of the account 'test1' accepted.
[Info]: Closed connection from '192.168.0.202'.

But their client doesn't continue beyond and just times out. 

 

My setup

map_config:

char_ip: 127.0.0.1
bind_ip: 127.0.0.1
map_ip: 192.168.0.51

chat_config:

login_ip: 192.168.0.51
bind_ip: 127.0.0.1
char_ip: 192.168.0.51

subnet:

subnet: 255.0.0.0:127.0.0.1:127.0.0.1


 

why your map ip is different with char ip, is it not on the same server ? try just use the default ip which is 127.0.0.1

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/08/24
  • Last Seen:  

8 hours ago, Chaos92 said:

why your map ip is different with char ip, is it not on the same server ? try just use the default ip which is 127.0.0.1

Thanks for the response. I set them all to localhost (127.0.0.1) and the client on another PC still has the same issue. It gets through to login but times out after that

EDIT: I'd like to make clear that my local PC can connect to the server just fine, it's just LAN PCs not getting to the character screen.

Edited by Tarodev
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1826
  • Reputation:   288
  • Joined:  08/03/12
  • Last Seen:  

6 hours ago, Tarodev said:

Thanks for the response. I set them all to localhost (127.0.0.1) and the client on another PC still has the same issue. It gets through to login but times out after that

EDIT: I'd like to make clear that my local PC can connect to the server just fine, it's just LAN PCs not getting to the character screen.

set the IP to localhost, then use the LAN IP of the server PC to connect the client to it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   1
  • Joined:  08/08/24
  • Last Seen:  

On 6/8/2024 at 8:41 PM, Tarodev said:

I get this in my server logs:
 

[Status]: Request for connection of test1 (ip: 192.168.0.202)
[Notice]: Authentication accepted (account: test1, id: 2000002, ip: 192.168.0.202)
[Status]: Connection of the account 'test1' accepted.
[Info]: Closed connection from '192.168.0.202'.

But their client doesn't continue beyond and just times out. 

 

My setup

map_config:

char_ip: 127.0.0.1
bind_ip: 127.0.0.1
map_ip: 192.168.0.51

chat_config:

login_ip: 192.168.0.51
bind_ip: 127.0.0.1
char_ip: 192.168.0.51

subnet:

subnet: 255.0.0.0:127.0.0.1:127.0.0.1

geometry dash

The issue seems to be related to network configuration and IP addresses used in your server settings. Here’s a breakdown of the possible issues and solutions:

Problem Identification
IP Binding:

bind_ip: 127.0.0.1 restricts the server to accept connections only from the local machine.
This configuration means your server is not listening to external connections properly, causing the clients to timeout.
Mismatch in IPs:

Your char_ip and map_ip should be consistent and properly configured to allow connections within your LAN.
Subnet Configuration:

Ensure that your subnet is correctly set up to allow internal communication between the server and clients.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  09/23/24
  • Last Seen:  

Geometry Dash is a fast-paced, rhythm-based platformer that challenges players to navigate through intricate levels filled with obstacles. Its vibrant graphics and catchy soundtracks create an immersive experience, while its simple one-touch gameplay mechanics make it both accessible and highly addictive .https://geometrydashmx.com/.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  09/25/24
  • Last Seen:  

The competitive aspect of Drift Hunters really draws me in. The leaderboards keep me motivated to improve my skills and climb the ranks. I love the thrill of trying to beat my own records and those of my friends. It’s a great way to stay engaged!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  10/16/24
  • Last Seen:  

 

Here are some steps you can take to troubleshoot and resolve the issue:

  1. Check Firewall Settings:

    • Ensure that the server's firewall is not blocking the necessary ports. You may need to create exceptions for both the server application and the specific ports it uses.
  2. Verify Port Forwarding:

    • Even on a LAN, incorrect port forwarding settings can cause connectivity issues. Make sure the correct ports are open and properly forwarded on your router.
  3. Server Capacity and Resources:

    • Check if your server has sufficient resources (CPU, RAM) to handle all connected clients. Overloading the server can lead to timeouts.
  4. Network Stability:

    • Ensure that your network is stable and there are no intermittent connectivity issues. You can use network monitoring tools to check for packet loss or high latency.
  5. Client Configuration:

    • Double-check the client settings to ensure they are correctly configured to connect to the server's IP address and port. Incorrect settings can prevent successful connections.
  6. Update Software:

    • Make sure both the server and client applications are updated to the latest versions. Compatibility issues between different versions can cause connection problems.
  7. Review Server Logs:

    • Examine the server logs for any specific error messages or patterns that could indicate the root cause of the timeout issues. This can provide valuable insights for troubleshooting.
  8. Restart Network Devices:

    • Sometimes, simply restarting your router, modem, and server can resolve connectivity issues by resetting network configurations.
  9. Check for Software Conflicts:

    • Ensure that no other applications are conflicting with your server software. Background applications using the same ports can cause connection problems.
  10. Test with Different Clients:

    • Try connecting with different client devices to determine if the issue is isolated to specific clients or is a general server problem.

If you've tried all these steps and the issue persists, consider reaching out to the software's support community or forums for more specialized assistance.

And remember, troubleshooting can be stressful, so it's important to take breaks to keep your mind fresh. Maybe unwind with a quick game of agario to relax before diving back into resolving the issue. Good luck!

Edited by JonRee
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/27/24
  • Last Seen:  

A clear understanding of the structure is crucial for any writing task. An essay formatting guide can help ensure your work is well-organized and properly cited. Reading a writing service review can also provide insight into quality assistance available for essays.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...