jaspr icon indicating copy to clipboard operation
jaspr copied to clipboard

jaspr serve ignore port argument

Open qrhfz opened this issue 2 years ago • 1 comments

I try to use port 8089 because port 8080 is already in use by other service. Instead of using port 8089 jaspr choose 5467 by itself.

➜  jaspr_web_app jaspr serve -p 8089 -v
Starting jaspr development server...
[INFO] Reading cached asset graph completed, took 233ms
[INFO] Checking for updates since last build completed, took 458ms
[INFO] Serving `web` on http://127.0.0.1:5467
[INFO] Running build completed, took 116ms
[INFO] Caching finalized dependency graph completed, took 213ms
[INFO] Succeeded after 335ms with 0 outputs (0 actions)
[INFO] ------------------------------------------------------------------------
The Dart VM service is listening on http://127.0.0.1:8181/hLKGtN42SPc=/
The Dart DevTools debugger and profiler is available at: http://127.0.0.1:8181/hLKGtN42SPc=/devtools/#/?uri=ws%3A%2F%2F127.0.0.1%3A8181%2FhLKGtN42SPc%3D%2Fws
[INFO] Hot reload is enabled.
[INFO] Running app in debug mode
[INFO] Serving at http://0.0.0.0:8089
[INFO] Received request for entrypoint at http://127.0.0.1:5467/main.dart.bootstrap.j
[INFO] Injected debugging metadata for entrypoint at http://127.0.0.1:5467/main.dart.bootstrap.js

qrhfz avatar Sep 10 '22 11:09 qrhfz

The 5467 is a fixed port used internally by the dev server. Your app will be served on the specified port as you see in the last lines of the output.

schultek avatar Sep 10 '22 12:09 schultek