Use the 127.0.0.1 instead of localhost as localhost can resolve to a host in weird networks