Skip to content

Instantly share code, notes, and snippets.

@jonpaul
Created November 7, 2011 18:55
Show Gist options
  • Save jonpaul/1345811 to your computer and use it in GitHub Desktop.
Save jonpaul/1345811 to your computer and use it in GitHub Desktop.
tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 26364/mongod
tcp 0 0 0.0.0.0:28017 0.0.0.0:* LISTEN 26364/mongod
tcp 0 0 50.57.132.151:27017 50.57.132.151:44988 ESTABLISHED 26364/mongod
unix 2 [ ACC ] STREAM LISTENING 2929563 26364/mongod /tmp/mongodb-27017.sock
development:
host: localhost
database: mdm_development
test:
host: localhost
database: mdm_test
# set these environment variables on your prod server
production:
host: localhost
database: mdm_production
# slaves:
# - host: slave1.local
# port: 27018
# - host: slave2.local
# port: 27019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment