Actually 127.0.0.1 is the localhost that is a "virtual" network interface or in other word a build in eth interface or loop back interface. You can use it even if you have no actual network card available.