Closed tdiesler closed 3 years ago
Adding host: "0.0.0.0" in plutus/plutus-playground-client/webpack.config.js seems to work ...
devServer: {
contentBase: path.join(__dirname, "dist"),
compress: true,
host: "0.0.0.0",
port: 8009,
https: true,
proxy: {
"/api": {
target: 'http://localhost:8080'
}
}
},
Not sure if this can generally be done to go forward.
For security reasons, defaulting to 0000 seems not good
I spent a long time tweaking my router and firewalls before realising it was a webpack issue: https://webpack.js.org/configuration/dev-server/#devserverhost
One can also create an SSH tunnel between the local machine and the cloud instance with something like:
ssh -i xxx.pem -N -L 8009:localhost:8009 xxx@xx.xxx.xx.xxx
To access the client through https://localhost:8009 just fine.
I think we can close this
This issue came up while taking part in the pioneer program
CrossRef: https://github.com/input-output-hk/plutus-pioneer-program/issues/3
Diagnostic info: