I'm running the server on a separate laptop that runs on debian 10 since my main pc isn't that powerful. The 2 computers are connected to the same Network.
The laptop has the ip 192.168.0.125 and my main pc has the ip 192.168.0.62.
I changed the following two parameters in the config.json of the server:
accessAddress (game), accessAddress (server - http)
When I go to my main computer, I go to fiddler, paste the typical script:
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;class Handlers
{
static function OnBeforeRequest(oS: Session) {
if (oS.host.Equals("overseauspider.yuanshen.com:8888")) {
oS.oRequest.FailSession(404, "Not Found", "Not Found");
}
else if(oS.host.EndsWith(".yuanshen.com") oS.host.EndsWith(".hoyoverse.com") oS.host.EndsWith(".mihoyo.com")) {
oS.host = "192.168.0.125:22102"; // This can also be replaced with another IP address.
}
}
};
When I successfully run the server in my laptop I open anime game 3.7, try to login with an already created account in my server and get error 502. When I go to Fiddler I click on one of the packets that corresponds to the game and it says that my laptop refused the connection (¿?).
I already clicked on trust certificates, I have downloaded keystore.p12 and enabled encryption via config.json. I'm using GC 1.6.3 (latest stable release).