Removing the old localPort definition