Remove unused port argument

Fixes #9160.