Topic on Talk:RESTBase

Not able to start RESTBase server

1
Scejja (talkcontribs)

I want to enable switching between wikitext and visualeditor edits. I follow installation instructions but when test restbase with

curl -v http://localhost:7231/localhost/mediawiki/v1/

I get this error.

* Hostname was NOT found in DNS cache

*   Trying 10.0.2.15...

* connect to 10.0.2.15 port 7231 failed: Conexión rehusada

* Failed to connect to 10.0.2.15 port 7231: Conexión rehusada

* Closing connection 0

curl: (7) Failed to connect to 10.0.2.15 port 7231: Conexión rehusada

I can connect to any other url, for example:

curl http://www.google.com

Parsoid is running. I am running wikimedia 1.29.2 on a virtual machine (Debian Jessie). This are some of the parameters for configuring /opt/restbase/config.yaml

    YOUR_WIKI_API_ENDPOINT    =  http://localhost/mediawiki/api.php

    YOUR_PARSOID_SERVER:PORT  =  http://localhost:8142

    YOUR_WIKI_WEBSITE         =  localhost/mediawiki

Any help please?

Thanks in advance

Reply to "Not able to start RESTBase server"