L2JMobius

Free Users => General Discussion => Topic started by: ReynalDev on September 28, 2019, 05:07:02 AM

Title: Change the IP to connect to my local server
Post by: ReynalDev on September 28, 2019, 05:07:02 AM
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

(http://l2devsadmins.net/l2devsAdmins2-0-11/l2devshostfiles/ficheros_subidos/1569636332_ea.png)

The question is : Am i doing this right?
Title: Re: Change the IP to connect to my local server
Post by: ReynalDev on September 28, 2019, 10:22:25 AM
I tried like this and

(https://media0.giphy.com/media/l0MYC5rnAHehkVKRq/giphy.gif)

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)

(https://media0.giphy.com/media/8vRrxHIZlJT2xvo920/giphy.gif)
Title: Re: Change the IP to connect to my local server
Post by: Liamxroy on September 28, 2019, 12:03:21 PM
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.
Title: Re: Change the IP to connect to my local server
Post by: Mobius on September 28, 2019, 12:48:23 PM
Probably firewall related?
Title: Re: Change the IP to connect to my local server
Post by: ReynalDev on September 28, 2019, 11:04:22 PM
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
(http://l2devsadmins.net/l2devsAdmins2-0-11/l2devshostfiles/ficheros_subidos/port.png)


I can even send PING request:
(http://l2devsadmins.net/l2devsAdmins2-0-11/l2devshostfiles/ficheros_subidos/1569700818_ea.png)


Title: Re: Change the IP to connect to my local server
Post by: Mobius on September 28, 2019, 11:11:23 PM
Try closing the firewall completely, just for test.
Title: Re: Change the IP to connect to my local server
Post by: ReynalDev on September 28, 2019, 11:12:49 PM
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.

(http://l2devsadmins.net/l2devsAdmins2-0-11/l2devshostfiles/ficheros_subidos/1569703521_ea.png)

Now is working, so was something related with the level of the network. For my case i am using Windows 10 (Home).
Title: Re: Change the IP to connect to my local server
Post by: GMavenging on September 29, 2019, 01:27:50 AM
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.

(http://l2devsadmins.net/l2devsAdmins2-0-11/l2devshostfiles/ficheros_subidos/1569703521_ea.png)

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).
Title: Re: Change the IP to connect to my local server
Post by: ReynalDev on September 29, 2019, 03:45:44 AM
Yeah that is weird cause i placed in all kind of networks.Thanks for clarify.
Title: Re: Change the IP to connect to my local server
Post by: ReynalDev on September 30, 2019, 02:20:07 AM
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.

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


(https://media.giphy.com/media/xT5LMSwcLwYBnBjvmo/giphy.gif)