bytecodealliance / bytecodealliance/wasmtime

Wasmtime running .net web application console prints incorrect port information

Open
#4,004 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

image

When I use the `wasmtime xxx.wasm` command to run the .NET web application and specify the program listening port through `--tcplisten localhost:8000`, the console always prints :
```
info: Microsoft.Hosting.Lifetime
Now listening on: http://localhost:5000
```
But the real port of the web application is not 5000

The command I use is as follows:

```
wasmtime webapp.wasm --tcplisten localhost:8000
info: Microsoft.Hosting.Lifetime
Now listening on: http://localhost:5000
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.