Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default example not working dial tcp [::1]:9222: connectex #128

Open
ghost opened this issue Apr 25, 2022 · 1 comment
Open

Default example not working dial tcp [::1]:9222: connectex #128

ghost opened this issue Apr 25, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 25, 2022

Hello, i looked on google briefly and i cannot get th
sublime_text_9aPOiOtrY5
Do i have to setup any additional stuff to get the devtool working ?
here is my console error
C:\Users\xpyth\Desktop\dcpTest>go run main.go

2022/04/25 02:30:11 Get "http://localhost:9222/json/list": dial tcp [::1]:9222: connectex: No connection could be established because the target computer expressly refused it.
exit status 1

I also tried to disable my firewall in case it could cause issues, but did not worked too. Can anyone tell me what i did wrong please ? Thanks in advance !

@mafredri
Copy link
Owner

mafredri commented Jun 4, 2022

Hi @xPythh, it doesn't seem like you have a Chrome instance running on localhost:9222 with debugging protocol enabled. You need to start Chrome with e.g. /path/to/chrome --remote-debugging-port=9222.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant