workaround for port lookup