chrome-launcher
chrome-launcher copied to clipboard
I'm stuck with chrome launch with ngnix
I'm unable to launch chrome using chrome-launch, I'm stuck with port thing as I'm using ngnix for reverse proxy. I'm hosting my server at digital ocean.
The problem is when i use common port for my node.js app and chrome launcher I get this response:
{pid: undefined , port: 8085, kill: , process: undefined}
And when I used different port for chrome-launcher I get this error
error connect econnrefused 127.0.0.1:39817 chrome
Kindly Help ME Thanks in Advance
You definitely don't want to launch Chrome on the same port as your web server. I'm not sure what nginx and reverse proxy setup has to do with anything. Are you trying to load a page that's behind a reverse proxy? Are you trying to stand up a reverse proxy in front of your Chrome remote debugging port?
error connect econnrefused 127.0.0.1:39817 chrome
is usually a sign that Chrome crashed and therefore refused the connection.
@patrickhulce I'm using chrome to convert HTML to PDF using html-pdf-chrome module. Secondly what might be the reason of Chrome is crashing?