Remove the port exposing lines.