Error trying to connect to a Mongo DB

I’ve never used Node.js, so this is just a guess, but is it possible that the problem occurs because there is a space at the beginning of the address-variable?