[DiscordArchive] ?what is the different bettween 1119 and 8081? is the 1119 use the TCP
[DiscordArchive] ?what is the different bettween 1119 and 8081? is the 1119 use the TCP
Archived author: Fabian • Posted: 2021-02-26T14:20:52.191000+00:00
Original source
1119 uses fully proto as bnet protocol. The other connections is just http(s) without proto
Archived author: M'Dic • Posted: 2021-02-26T14:20:53.272000+00:00
Original source
or am i remembering that wrong
Archived author: MaxtorCoder • Posted: 2021-02-26T14:20:55.705000+00:00
Original source
E.g the new protocol <@!209317995057643521>
Archived author: Fabian • Posted: 2021-02-26T14:21:01.314000+00:00
Original source
For Authentication
Archived author: M'Dic • Posted: 2021-02-26T14:21:09.681000+00:00
Original source
gotcha.
Archived author: JORGIE • Posted: 2021-02-26T14:26:21.325000+00:00
Original source
what is the difference between 1119 and 8081?
Archived author: MaxtorCoder • Posted: 2021-02-26T14:26:44.146000+00:00
Original source
1119 is for bnet, 8081 is for worldserver.
Archived author: JORGIE • Posted: 2021-02-26T14:31:08.646000+00:00
Original source
LoginRESTService use the 8081 port
Archived author: JORGIE • Posted: 2021-02-26T14:31:15.919000+00:00
Original source
bool LoginRESTService::Start(Trinity::Asio::IoContext* ioContext)
{
_ioContext = ioContext;
_bindIP = sConfigMgr->GetStringDefault("BindIP", "0.0.0.0");
_port = sConfigMgr->GetIntDefault("LoginREST.Port", 8081);
Archived author: JORGIE • Posted: 2021-02-26T14:31:53.597000+00:00
Original source
void LoginRESTService::Run()
{
soap soapServer(SOAP_C_UTFSTRING, SOAP_C_UTFSTRING);
// check every 3 seconds if world ended
soapServer.accept_timeout = 3;
soapServer.recv_timeout = 5;
soapServer.send_timeout = 5;
if (!soap_valid_socket(soap_bind(&soapServer, _bindIP.c_str(), _port, 100)))
{
TC_LOG_ERROR("server.rest", "Couldn't bind to %s:%d", _bindIP.c_str(), _port);
return;
}