Added ip in host name to database
changed host name from localhost to ip addr