adjust port and ip