Frederisk/Wikitext-VSCode-Extension

Error on launching preview

DaveEveritt opened this issue · 7 comments

"ErrorName: Error; ErrorMessage: connect ECONNREFUSED 127.0.0.1:443;"

Not sure how to address this or where it’s set so changed the "Wikitext: Host" setting from Locahost to the above localhost IP address, restarted VSCode, but no joy.

I don't quite understand, are you trying to use the extension to connect to an external website or test it locally?

Are other functions, such as logging in, working properly?

Perhaps I'm misunderstanding, but I was presuming a local preview, as with Markdown in VSCode? I'm not connecting to any external site, and no logging in.

Oh, yes, the preview is actually rendered by an external MediaWiki site. Login is optional, but a valid MediaWiki site address must be filled in Host.

ah I see - will any mediawiki site do, or could you recommend a non-login site? I was editing a Wikipedia page

Any site will do, unless that site is private. If you use this extension to edit Wikipedia, I recommend filling in Host with the address of the website you want to edit, Ex. en.wikipedia.org.

Of course, this means that a connection to the Internet is a must.

understood, thanks. I misunderstood that I can't get a preview on localhost.