Lan connection Err_connection_timed_out Error

We have a self-hosted cloud-based server with 25 users in our company, and when we are operating from companies wifi, sometimes the connection to the server gets this error of connection timeout or DNS error. Same time if we switch to a different connection the site opens. After waiting for some time, again the page is accessible. But this keeps on happening again and again.

The load on the server is not going up and even though the CPU usage is low, still the issue keeps on happening. The problem is only on our internal connection but we are not able to identify the reason for the issue.

If anyone is able to guide us then it would be very helpful

having same issue have you found any solution?

is it similar to this?

we did this and it solved our issue
run this command
sudo apt remove --purge fail2ban