fix to pull port from configfile.js