All ideas

Doesn't Allow me to Join a World

I'm not sure if it's a bug or not, but everytime I try to join a random server (including my own) it tells me i can't join due to ping timeout, if you have the time, please tell me what to do in this situation, Thank you.