Port can be set to null. This allows compatibility with searchbox.io.