You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks again for this great project!
I'm trying to convert a web server container into wasm then run it in browser with wasi-browser. The container is exposing an http port, but unfortunately I am not able access it.
I've tried to add ˋEXPOSEˋ rule in Dockerfile, and to use port socket binding and port mapping in c2w-net to host port. Looking for GVisor networking, logs tell that connection is refused.
Do you have any idea or configuration to access exposed port, from c2w-net port mapping or directly from JS?
Thanks!
The text was updated successfully, but these errors were encountered:
This looks like VM mac address and/or the one registered to c2w-net don't match.
If you can see the VM's mac address (currently it's assigned a random value), you need to pass that mac address to c2w-net via -mac flag.
Or, you can patch worker.js to simply disable the random assigning of the mac address.
Thanks again for this great project!
I'm trying to convert a web server container into wasm then run it in browser with wasi-browser. The container is exposing an http port, but unfortunately I am not able access it.
I've tried to add ˋEXPOSEˋ rule in Dockerfile, and to use port socket binding and port mapping in c2w-net to host port. Looking for GVisor networking, logs tell that connection is refused.
Do you have any idea or configuration to access exposed port, from c2w-net port mapping or directly from JS?
Thanks!
The text was updated successfully, but these errors were encountered: