Workaround for port overlap problem.