Skip to content

[Bug]: about: net::ERR_CONNECTION_REFUSED at https://localhost:7119/ #3311

Description

Version

1.57.0

Steps to reproduce

Example steps (replace with your own):

  1. Clone my repo at https://github.com/simix-alessandrokantousian/TestWithPlaywright
  2. run tests
  3. You should see the error: net::ERR_CONNECTION_REFUSED at https://localhost:7119/

Expected behavior

Context

  • Playwright Version: 1.57.0
  • Operating System: Windows 11
  • .NET 10
  • Browser: Chromium, Firefox

Description

I'd like to understand why I get this error when I try to run Playwright, but when I have two Visual Studio windows open—one running the project and the other running Playwright—it works. Do I need to configure something in the project to be able to run the test with only one Visual Studio window open? Or is there some configuration that makes the project run before Playwright run?

Image

Actual behavior

When I try to run Playwright happens net::ERR_CONNECTION_REFUSED at https://localhost:7119/

Additional context

No response

Environment

- Operating System: Windows 11
- CPU: AMD64 - Amd Ryzen 7000
- Browser: Chromium and Firefox
- .NET Version (TFM): [net10.0]
- Other info:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions