using ip address instead of localhost