make ip/port more modular