Skip to content

Commit 1c2444d

Browse files
committed
Add note to use host=0.0.0.0 for remote env
1 parent 0022c2a commit 1c2444d

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

documentation/modules/ROOT/pages/basics.adoc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ Maven::
1313
[.console-input]
1414
[source,bash,subs="+macros,+attributes"]
1515
----
16-
mvn "io.quarkus.platform:quarkus-maven-plugin:create" \
17-
-DprojectGroupId="com.redhat.developers" \
18-
-DprojectArtifactId="tutorial-app" \
19-
-DprojectVersion="1.0-SNAPSHOT" \
20-
-Dextensions=resteasy-reactive
16+
mvn "io.quarkus.platform:quarkus-maven-plugin:create" -DprojectGroupId="com.redhat.developers" -DprojectArtifactId="tutorial-app" -DprojectVersion="1.0-SNAPSHOT" -Dextensions=resteasy-reactive
2117
cd {project-name}
2218
----
2319
--
@@ -32,9 +28,7 @@ Then create the application:
3228
[.console-input]
3329
[source,bash,subs="+macros,+attributes"]
3430
----
35-
quarkus create app \
36-
-x resteasy-reactive \
37-
com.redhat.developers:tutorial-app:1.0-SNAPSHOT
31+
quarkus create app -x resteasy-reactive com.redhat.developers:tutorial-app:1.0-SNAPSHOT
3832
cd {project-name}
3933
----
4034
--
@@ -107,7 +101,7 @@ Quarkus CLI::
107101
quarkus test
108102
----
109103
110-
NOTE: `quarkus test` starts tests in continuous testing mode (more about this below) so to return to the command line you will need to press (q)
104+
NOTE: `quarkus test` starts tests in continuous testing mode (more about this below) so to return to the command line after the tests ran you will need to press (q)
111105
--
112106
====
113107

@@ -158,6 +152,8 @@ quarkus dev
158152
--
159153
====
160154

155+
NOTE: By default Quarkus uses 'localhost' for the dev mode host setting. If you are working in a remote development environment, you may need to set the host to 0.0.0.0 by appending `-D"quarkus.http.host=0.0.0.0"` to the above command.
156+
161157
== Dev UI
162158

163159
Quarkus ships with a Dev UI, which is available in dev mode at http://localhost:8080/q/dev[/q/dev] by default.

0 commit comments

Comments
 (0)