adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.63k forks source link

Need help - Error Launching Browser #12276

Open vare79 opened 8 years ago

vare79 commented 8 years ago

Hey people,

I'm new to this tool.

Have problems with the Live Preview, always got this error msg: http://prntscr.com/ackvwv

What I've done:

-- tried with Project Settings http://prntscr.com/ackwz6 How do I know if localhost is alreadyrunning?

--also tried to check this option, but nothing happened http://prntscr.com/ackxcc

-- how to connect Brackets with Google Chrome?

-- running Windows 7 Ultimate

thanks

petetnt commented 8 years ago

Hi @vare79,

try leaving the Project Settings input field empty first (Brackets automatically sets up an local server for you if not set).

If you are still getting an error, make sure that you have allowed Brackets' node process pass your firewall (for example on Windows this file is C:/Program Files (x86)/Brackets/node.exe).

If Google Chrome on is set as your default browser, the live preview should launch to that browser automatically.

vare79 commented 8 years ago

Hi petetnt,

thanks for your feedback.

Chrome is my default browser.

But this, where to check it? Have Avast installed...

If you are still getting an error, make sure that you have allowed Brackets' node process pass your firewall (for example on Windows this file is C:/Program Files (x86)/Brackets/node.exe).

petetnt commented 8 years ago

I haven't used Avast myself, but https://www.avast.com/en-us/faq.php?article=AVKB25 seems like a guide to do that.

vare79 commented 8 years ago

Tried also to disable Avast, but the same message appears...

abose commented 8 years ago

Try enabling file> enable experimental live preview and relaunch brackets.

vare79 commented 8 years ago

Now it's working! :)

Thanks a lot!

abose commented 8 years ago

Should be firewall issue/ unable to launch google chrome in debug port enabled mode issue.