Jump to content
  • 0

Can connect from local but not other machines


Desbrina

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/22/14
  • Last Seen:  

I can connect from the machine running the servers, but if i try to connect from another machine on my lan i get "Failed to connect to server" after selecting which character to play

 

char

 

// Login Server IP

// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 192.168.2.21
 
// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
 
// Login Server Port
login_port: 6900
 
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 86.21.126.51
 
// Character Server Port
char_port: 6121

 

map

 

// Character Server IP

// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 192.168.2.21
 
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1
 
// Character Server Port
char_port: 6121
 
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 86.21.126.51
 
// Map Server Port
map_port: 5121

 

subnet

 

subnet: 255.255.255.0:192.168.2.21:192.168.2.50

subnet: 255.0.0.0:127.0.0.1:127.0.0.1

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  08/15/14
  • Last Seen:  

i had a similar problem, try adding another subnet like this

 

subnet: 255.255.255.0:[Your WAN IP here]:[Your WAN IP here]

 

edit: also the LAN IP's on your first subnet should both be the IP the server is hosted at unless you are hosting the individual servers on different machines, also you cannot connect to your own computer (if thats where your hosting the server) through your own WAN IP, it doesnt work.

 

 

 

i had a similar problem, try adding another subnet like this

 

subnet: 255.255.255.0:[Your WAN IP here]:[Your WAN IP here]

 

edit: also the LAN IP's on your first subnet should both be the IP the server is hosted at unless you are hosting the individual servers on different machines, also you cannot connect to your own computer (if thats where your hosting the server) through your own WAN IP, it doesnt work.

 

Thanks, thats solved it

 

 

i'm sorry when i posted this i was in error, you can connect to the server from the same machine you are hosting it from you just need to add another line in your subnet_athena with

subnet: 255.255.255.0:127.0.0.1:127.0.0.1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/26/14
  • Last Seen:  

Your char_ip from char config is different from your map config. 

I am not sure if it really should be like that. I just noticed. 

 

 

 

// Character Server IP

// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 86.21.126.51

 

// Character Server IP

// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 192.168.2.2

 

Edited by dux
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/22/14
  • Last Seen:  

Following the install guide for windows it should be like that

 

 

Char_athena: login_ip will be the LAN IP, char_ip will be WAN IP.
Map_athena: char_ip is the LAN IP, map_ip is the WAN IP

 

i'll try changing it and see anyway

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   0
  • Joined:  08/26/14
  • Last Seen:  

Did you try to port forward the ports? I guess that is essential. But if you have a static ip address and doesn't use a router I am pretty much sure that you can use your ip in all the config. Correct me if I'm wrong people of rA. :) Anyways you can just try and try and try until you get the right config. :) Goodluck!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/22/14
  • Last Seen:  

All ports are forwarded, and port checks show they are open. i can't connect using my wan ip at all within the network, i haven't tried outside it yet.

I've tried changing all the ips to the local one but its still the same issue, i can see the connection attempts on the login and char servers but nothing registers on the map server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  08/15/14
  • Last Seen:  

i had a similar problem, try adding another subnet like this

 

subnet: 255.255.255.0:[Your WAN IP here]:[Your WAN IP here]

 

edit: also the LAN IP's on your first subnet should both be the IP the server is hosted at unless you are hosting the individual servers on different machines, also you cannot connect to your own computer (if thats where your hosting the server) through your own WAN IP, it doesnt work.

Edited by nitroglisc
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  08/22/14
  • Last Seen:  

i had a similar problem, try adding another subnet like this

 

subnet: 255.255.255.0:[Your WAN IP here]:[Your WAN IP here]

 

edit: also the LAN IP's on your first subnet should both be the IP the server is hosted at unless you are hosting the individual servers on different machines, also you cannot connect to your own computer (if thats where your hosting the server) through your own WAN IP, it doesnt work.

 

Thanks, thats solved it

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...