[DiscordArchive] What's your docker network address?
[DiscordArchive] What's your docker network address?
Archived author: Foe • Posted: 2023-10-22T16:59:20.468000+00:00
Original source
What's your docker network address?
Archived author: Zeraphicus • Posted: 2023-10-22T16:59:27.018000+00:00
Original source
one second
Archived author: Foe • Posted: 2023-10-22T17:00:44.436000+00:00
Original source
```C++
if (clientAddr.is_v4() && Acore::Net::IsInNetwork(LocalAddress->to_v4(), LocalSubnetMask->to_v4(), clientAddr.to_v4()))
{
realmIp = *LocalAddress;
}
else
{
realmIp = *ExternalAddress;
}```
![[Image: image.png?ex=690c2b83&is=690ada03&hm=558...38aa4043d&]](https://cdn.discordapp.com/attachments/535208956449128490/1165696284594819266/image.png?ex=690c2b83&is=690ada03&hm=55846129b82db5bf9202c2325490fe832c54e033e28fa5c07aa650c38aa4043d&)
Archived author: Zeraphicus • Posted: 2023-10-22T17:00:51.909000+00:00
Original source
![[Image: image.png?ex=690c2b83&is=690ada03&hm=558...38aa4043d&]](https://cdn.discordapp.com/attachments/535208956449128490/1165696284594819266/image.png?ex=690c2b83&is=690ada03&hm=55846129b82db5bf9202c2325490fe832c54e033e28fa5c07aa650c38aa4043d&)
Archived author: Foe • Posted: 2023-10-22T17:02:09.894000+00:00
Original source
Alright yeah
Archived author: Foe • Posted: 2023-10-22T17:02:32.719000+00:00
Original source
So it's checking if your 192.168 address is in the same local network as your 172 internal docker network IP, which it's not
Archived author: Zeraphicus • Posted: 2023-10-22T17:02:45.704000+00:00
Original source
Thats interesting
Archived author: Foe • Posted: 2023-10-22T17:02:46.847000+00:00
Original source
So it's *always* going to use the address field
Archived author: Foe • Posted: 2023-10-22T17:03:13.831000+00:00
Original source
With it being a DNS entry, the auth server is going to resolve that address and send it to the client
Archived author: Zeraphicus • Posted: 2023-10-22T17:03:22.988000+00:00
Original source
I think there maybe some weird things to do with the fact this is actually an HP server as well