I am following the MyEtherWallet: Use Your Own Server Guide to use MyEtherWallet on my private ethereum network. I am doing this setup on my node, where my ethereum node runs.
I have done first 4 steps.
In response.js
file: I have set host as:
host: '127.0.0.1'
In runLocalServer.js
file: I have set app.use
as:
app.use(vhost('127.0.0.1', require('./index.js').app));
Since port 80 is occupied, I have changed port number 80 to my free port number as 8000;
httpServer.listen(80);
inrunLocalServer.js
.httpServer.listen(80);
inrunServer.js
As recommended on Step-2 I run:
[~]$ node runLocalServer.js
//waits
But on Step-3, when I navigate to http://localhost/api.mew inside my node, I do have 404 or timeout errors. I was not able to end up on a empty/white page.
I was not able to figure out how to overcome this problem or where I am doing something wrong/missing. Any valuable guidance will be appreciated.
Thank you for your valuable time and help.