Skip to content

No 'Access-Control-Allow-Origin'  #6

Description

@LukasBlu1

Hello Plesk-Team,

thank you for your great software.
I want to connect to plesk with my nodejs app.
But I get the following error.
I followed the plesk documentation to enable api access in the panel.ini but with no success.
Do you have a solution for this?

Failed to load https://domain:8443/enterprise/control/agent.php: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://domain' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

https://docs.plesk.com/de-DE/onyx/administrator-guide/plesk-administration/absichern-von-plesk/restricting-remote-access-via-plesk-api.71930/

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions