L2JMobius

Secret of Empire Change the IP to connect to my local server

ReynalDev · 10 · 7821

Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
Hello, i normally use Intelude Client. So i was wondering if in Classic (Secret Of Empire) you still editing the file l2.ini to put the IP of the server.

My server is in 192.168.1.XXX, i really need to put the IP  :o

Im using the FileEdit shared by L2Miko: https://github.com/L2Miko/L2FileEdit
To edit the l2.ini file from Secret of Empire client.
Option: EP2_5: Underground & Classic
Protocol: 413
 
client/system/l2.ini
Code: [Select]
[Auth]
ServerAddr=127.0.0.1
UseAuthUserData=true
; Russia External( Cmdline ) Login



The question is : Am i doing this right?


Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
I tried like this and



FAIL


So what file or files should i edit to use my server with the IP 192.168.1.120 (for example) Im using 2 machines (to simulate a network)



Online Liamxroy

  • Grand Duke
  • *****
    • Posts: 759
    • Adenaplease!
This is your local IP address.
Edit l2.ini or add your ip in Windows hosts

Whatismyip.com

Don't forget to open your ports on firewall.



Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
This is your local IP address.
Edit l2.ini or add your ip in Windows hosts

Whatismyip.com

Don't forget to open your ports on firewall.


Probably firewall related?

Ports 2106 TCP and 7777 open



I can even send PING request:





Online Mobius

  • Distinguished King
  • *****
    • Posts: 16011

Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
Try closing the firewall completely, just for test.

Well, looks like that, the computer server was with the network configuration like Public and i changed it to Private.



Now is working, so was something related with the level of the network. For my case i am using Windows 10 (Home).


Offline GMavenging

  • Viscount
  • *****
    • Posts: 300
Try closing the firewall completely, just for test.

Well, looks like that, the computer server was with the network configuration like Public and i changed it to Private.



Now is working, so was something related with the level of the network. For my case i am using Windows 10 (Home).

Hello ReynalDev, in windows 10, when you open ports you must indicate to the firewall the network through which the passage is allowed (private, public, domain).


Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
Yeah that is weird cause i placed in all kind of networks.Thanks for clarify.


Offline ReynalDev

  • Knight
  • ***
    • Posts: 92
  • https://reynaldev.pythonanywhere.com/
    • ReynalDev
I could not sleep yesterday and i was thinking about this problem. So i might figure out what happened.

When you execute a JAR or Java file for the first time, a firewall window appears asking for the permission of that program. I generally select private network and uncheck public network, so i guess that caused this problem.

 ::) ::) ::) ::)