Bugfix: host pattern and port pattern reversed