Try convert localhost to IP.