Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1. MONGO_HOST = "IP Address I think"
  2.     MONGO_DB = "server name"
  3.     MONGO_USER = "username"
  4.     MONGO_PASS = "password"
  5.  
  6.     server = transport(
  7.         MONGO_HOST,
  8.         ssh_username=MONGO_USER,
  9.         ssh_password=MONGO_PASS,
  10.         remote_bind_address=('address', gate),
  11.         local_bind_address=('address', gate)
  12.     )
  13.     server.start()
  14.     client = AsyncIOMotorClient('address', gate)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement