use port from config