Added a 'port' setting to 'settings'.