added config for specifying port