aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/vespa/vespa/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vespa/vespa/package.py b/python/vespa/vespa/package.py
index a9d589e46d1..4b5d1e701d5 100644
--- a/python/vespa/vespa/package.py
+++ b/python/vespa/vespa/package.py
@@ -464,5 +464,7 @@ class VespaDocker(object):
raise RuntimeError(deployment_message)
return Vespa(
- url="http://localhost", port=8080, deployment_message=deployment_message
+ url="http://localhost",
+ port=self.local_port,
+ deployment_message=deployment_message,
)