OSError: [Errno 65] No route to host

fahadshery

Contributor
Joined
Sep 29, 2017
Messages
179
Hi All,

I have a jail running mysql, python 3.8.2. When I run the python script (which uses WebSockets to pull data from the API) on my Mac terminal, it works without any issues.
But When I run it in jail, it gives the error:
Code:
OSError: [Errno 65] No route to host

Jail and MacBook are both connected to the same router.
I can ping google from both Macbook and the jail.
Both are using the same DNS server for name resolution.

I think the problem could be similar to this but not sure where to start. Any ideas guys and girls?

Cheers
 
Top