Jump to content

IP Address defaults to 192.168.1.x from 127.0.0.1 on server startup


exists002

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  02/12/25
  • Last Seen:  

Hello. I'm a newbie here in creating private server.

I'm thinking of creating a local private server RO here in my small internet cafe.

I followed the steps on how to setup RO offline server on youtube by Speedrun.

But when I try to run runserver.bat, the IP address defaults to 192.168.1.26 as shown in the image

which results in error in running the server.

In Speedrun's tutorial, he doesn't have this error.

How can I prevent it from defaulting the IP address? Please help.

Thank you in advance

defaultingI.png.0f929d13f9508b250bdc068b5bf440af.pngdefaultingIp.png.d22f9712533e978e58f9674ba3dfb4b6.png

Edited by exists002
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  114
  • Reputation:   6
  • Joined:  03/02/18
  • Last Seen:  

double check your config

Link to comment
Share on other sites


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

check inter athena conf most probably there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  02/12/25
  • Last Seen:  

3 hours ago, Chaos92 said:

check inter athena conf most probably there.

I checked the inter athena config but I can't seem to find the line where it defaults my IP address to 192.168.1.26 seen on first image at charserv.bat

Link to comment
Share on other sites


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

then did u edit anything in char, login and map athena. maybe something about the IP there.

 

And make sure those ports are available not being used by any other process

Edited by Chaos92
additional info
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  02/12/25
  • Last Seen:  

3 hours ago, Chaos92 said:

then did u edit anything in char, login and map athena. maybe something about the IP there.

 

And make sure those ports are available not being used by any other process

In Char, I only enabled login_ip, bind_ip and char_ip (removed the backslashes)

in map, I enabled char_ip, bind_ip and map_ip

in inter_athena, I didn't touched any IP and only changed the login_id and passwords

Then I didn't touched anything in login_athena.db

 

But if I run the program in default settings, I can play the game no issue since I didn't set any IP (the 127.0.0.1)

The problem with this is other PC on the network can't connect to my server.

Link to comment
Share on other sites


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

1 hour ago, exists002 said:

In Char, I only enabled login_ip, bind_ip and char_ip (removed the backslashes)

in map, I enabled char_ip, bind_ip and map_ip

in inter_athena, I didn't touched any IP and only changed the login_id and passwords

Then I didn't touched anything in login_athena.db

 

But if I run the program in default settings, I can play the game no issue since I didn't set any IP (the 127.0.0.1)

The problem with this is other PC on the network can't connect to my server.

try to not enable those bind ip and map ip if its not needed just let it be as default.

and check the port is it open or not if its closed then for sure cant connect from other pc.

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.02
  • Content Count:  1962
  • Reputation:   203
  • Joined:  01/08/12
  • Last Seen:  

On 2/14/2025 at 5:44 PM, exists002 said:

In Char, I only enabled login_ip, bind_ip and char_ip (removed the backslashes)

in map, I enabled char_ip, bind_ip and map_ip

in inter_athena, I didn't touched any IP and only changed the login_id and passwords

Then I didn't touched anything in login_athena.db

 

But if I run the program in default settings, I can play the game no issue since I didn't set any IP (the 127.0.0.1)

The problem with this is other PC on the network can't connect to my server.

what are u trying to do? LAN only or using via internet? because using 127.0.0.1 works only on the same PC will not work on ur LAN. if u want to make it work on lan. make sure to use the local IP address provided by ur modem or router. if out side the network or over the internet. you must open specific port and use your public IP. or static IP address from ur ISP to make it work so others can connect on your server. 

 

char_athena.conf

// 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: 127.0.0.1 (USE YOUR LOCAL IP or STATIC IP)

// 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: 127.0.0.1 (USE YOUR LOCAL IP or STATIC IP)

 

map_athena.conf

// 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: 127.0.0.1 (USE YOUR LOCAL IP or STATIC IP)

// 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: 127.0.0.1 (USE YOUR LOCAL IP or STATIC IP)

// Map Server Port
map_port: 5121

 

 

 

Edited by Brynner
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  120
  • Topics Per Day:  0.02
  • Content Count:  1962
  • Reputation:   203
  • Joined:  01/08/12
  • Last Seen:  

and also you can check your port if its open. https://canyouseeme.org/

 

login_port: 6900

 

char_port: 6121

 

map_port: 5121

 

web_port: 80

 

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
Reply to this topic...

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