Skip to content

Commit dfd52bc

Browse files
authored
Merge pull request #16 from navikt/standalone-server-on-windows-readme
Suggestion for running the server on windows.
2 parents adcf364 + d6b8d35 commit dfd52bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ TODO
194194

195195
The standalone server will default to port `8080` and can be started by invoking `main()` in `StandaloneMockOAuth2Server.kt` (in kotlin) or `StandaloneMockOAuth2ServerKt` (in Java)
196196

197+
On Windows, it's easier to run the server in docker while specifying the host as localhost, e.g. `docker run -p 8080:8080 -h localhost $IMAGE_NAME`
198+
197199
##### Debugger
198200

199201
Point your browser to [http://localhost:8080/default/debugger](http://localhost:8080/default/debugger) to check it out

0 commit comments

Comments
 (0)