Skip to content

Commit 3a767ac

Browse files
committed
fix: update port references
Signed-off-by: Roman Volosatovs <[email protected]>
1 parent b6cd4f6 commit 3a767ac

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ The standard way to engage with the game is for players to guess the secret word
1313
## wasmtime
1414

1515
```console
16-
CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime run --tcplisten 127.0.0.1:8443 --env FD_COUNT=1" cargo +nightly run --target wasm32-wasi
16+
CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime run --tcplisten 127.0.0.1:10030 --env FD_COUNT=1" cargo +nightly run --target wasm32-wasi
1717
```
1818

19-
Server is running on [`http://127.0.0.1:8443`](http://127.0.0.1:8443).
19+
Server is running on [`http://127.0.0.1:10030`](http://127.0.0.1:10030).
2020

2121
## enarx
2222

@@ -32,4 +32,4 @@ or simply with the help of `.cargo/config`:
3232
cargo +nightly run
3333
```
3434

35-
Server is running on [`https://127.0.0.1:8443`](https://127.0.0.1:8443).
35+
Server is running on [`https://127.0.0.1:10030`](https://127.0.0.1:10030).

run_wasmtime.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
2-
export CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime run --tcplisten 127.0.0.1:8443 --env FD_COUNT=1"
2+
export CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime run --tcplisten 127.0.0.1:10030 --env FD_COUNT=1"
33
exec cargo +nightly run --release --target wasm32-wasi
44

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ fn get_server() -> Server {
188188

189189
#[cfg(not(target_os = "wasi"))]
190190
fn get_server() -> Server {
191-
mini_http::Server::new("127.0.0.1:8443").unwrap()
191+
mini_http::Server::new("127.0.0.1:10030").unwrap()
192192
}
193193

194194
fn run() -> Result<(), Box<dyn std::error::Error>> {

0 commit comments

Comments
 (0)