take port from config