Last Updated: February 25, 2016
· rshetty

Running Multiple Gods on your Server

Usually there arise situations in which you have to run multiple god instances (may be one for the development and other for the production).

When you start a god service using

god -c /path/to/god

Usually it binds itself to a default port. So if you try to instantiate one more god service, it will result in failure as the port is already being used by one god instance.

To instantiate one more instance run the god on a different port as

god -c /path/to/god -p 17770

This will make the new god instance to bind to 17770 port.

That's it. Happy Hacking..