WASM runs in a confined memory space allocated for the program. There is no I/O or host address space access.
You need to run a WASI environment for that.