I want to be sure that none of tests make external network connections by prohibiting such connections.
There is a solution to block all connections, but my tests use a local database.
So I am looking for a way to block all outbound TCP connections except to localhost
.