Use IP address in place of localhost for testing.