E
E
Eugene Kuznetsov2021-07-08 18:19:40
PHP
Eugene Kuznetsov, 2021-07-08 18:19:40

How to fix refused to connect when migrating from Yourls?

Good afternoon.
I installed on Yourls cloud hosting. SSL certificate connected. The service itself is installed and works without problems. Short links generates. However, when I try to follow any of these links, I get the error "xx refused to connect.", where xxx is the domain where the landing page is located.
For example
https://grn.one/9dgr5 -> www.youtube.com refused to connect.
https://grn.one/osnxr -> github.com refused to connect.
https://grn.one/jbxzo -> www.energymadeeasy.gov.au refused to connect.
There was nothing complicated in the settings, especially since there are a large number of installation instructions on the network. And here on this error there was a problem with search of the information.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2021-07-08
@KEugene

These sites do not allow themselves to be displayed in iframe
https://developer.mozilla.org/en-US/docs/Web/HTTP/...
Errors like "Refused to display in a frame because it set 'X-" are thrown in the browser console Frame-Options' to 'sameorigin'."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question