Fixing localip, adding remote ip