How to list IP tables in Linux

This is helpful for when you can’t access your localhost (127.0.0.1). Specially if you are having trouble accessing MongoDB after installation.

Here is the command:

iptables -L --line-numbers

Sources:

  • https://dba.stackexchange.com/questions/181693/mongodb-exception-connect-failed

Leave a Comment

Your email address will not be published. Required fields are marked *