The latency of private server?

I’ve never had problems with latency in private server before, but it just got so bad that I couldn’t move or pick up anything and lost my eve spawn. The internet is working fine and I wonder how can it be :confused:

I think the latency depends on how far away the server is from your device.