A
A
Abc Edc2015-01-12 17:56:22
MongoDB
Abc Edc, 2015-01-12 17:56:22

How to find out what port MongoDB occupies in Ubuntu 14.10?

Tell me, I'm trying to connect via RoboMongo to 27017 and constantly fail. It is written in the documentation that the default is 27017

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pi314, 2015-01-12
@gleber1

sudo netstat -tulpn
If the process is running, find the port in the list.

A
Abc Edc, 2015-01-12
@gleber1

The mongod --port <27017> command was executed, but the port is still not the same and it is not known what to be

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question