If you use Content Manager (CM), specific internal settings may be timing out your connection:
Assetto Corsa multiplayer typically uses Steam networking, but if you host or need direct connections, open/forward these on your router to the host PC’s local IP: If you use Content Manager (CM), specific internal
Dealing with the "server seems to be unavailable" error in Assetto Corsa If you use Content Manager (CM)