Mongodb | Connection refused – Spanish battery overflow

I am under Linux, by executing the command "Mongo", it sends me the following result

MongoDB v4.0.9 shell version
connection to: mongodb: // 27017 /? gssapiServiceName = mongodb
2019-04-27T18: 58: 39.362-0500 E QUERY    [js] Error: Unable to connect to server, connection attempt failed: SocketException: Connection Error :: caused by :: Connection refused:
connect@src/mongo/shell/mongo.js: 343: 13
@ (connect): 2: 6
exception: connection failure

To prevent the beginning of the Mongo, what is needed and how can I solve it?