fixed mongodb connection on server: connection error