Added listening port as config parameter