Fix adding listen port when enable host.
enable_host() is called by $('#btnSaveEnableHost').click().