Enable IP forwarding

If you are getting connection refused errors in your logs, check to make sure IP forwarding is enabled using:

Copy
sysctl net.ipv4.ip_forward

If IP forwarding is not enabled, you can enable it using:

Copy
sysctl -w net.ipv4.ip_forward=1