You can try some debugging like I described in another topic
You have a different problem but checking the IP addresses and trying to access a port on the host could also give you new ideas. If you can’t even access a python server on the host that is worst than not being able to access the internet.
Make sue no firewall blocks the requests and that your docker bridge network is not colliding with any other ip on that host or the gateway IP on your LAN