Skip to content

embed.js: GET https://remark42.host.com/web/embed.js net::ERR_CONNECTION_REFUSED #1713

Answered by umputun
OnkelTem asked this question in Q&A
Discussion options

You must be logged in to vote

Unless the part of your setup is not provided, I don't see how this is supposed to work. You are running remark42 on port 8080, HTTP, but access it on port 443 HTTPS. Such a configuration may work only in case if you run it behind a reverse proxy of some kind (see 1 and 2) taking care of https termination and request's forwarding

If you want to run remark42 and expose it directly on https you should set SSL parameters appropriately, i.e. --ssl.type=auto --ssl.port=443. In this case you will have remark42 listening on port 443, and handling SSL certificate for you. Pls note: this will not work if you already have another web server running on the same box and on the same port

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@OnkelTem
Comment options

@OnkelTem
Comment options

@umputun
Comment options

@OnkelTem
Comment options

@paskal
Comment options

paskal Dec 26, 2023
Collaborator Sponsor

Answer selected by OnkelTem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants