diff --git a/src/main/scala/io/findify/sqsmock/SQSService.scala b/src/main/scala/io/findify/sqsmock/SQSService.scala index dfabc5e..d7c1f52 100644 --- a/src/main/scala/io/findify/sqsmock/SQSService.scala +++ b/src/main/scala/io/findify/sqsmock/SQSService.scala @@ -48,7 +48,7 @@ class SQSService(port:Int, account:Int = 1) { } } } - Await.result(http.bindAndHandle(route, "localhost", 8001), Duration.Inf) + Await.result(http.bindAndHandle(route, "localhost", port), Duration.Inf) } def shutdown():Unit = Await.result(system.terminate(), Duration.Inf)