pull port and host into settings