Hi Rene,

I see the binding on 127.0.0.1:5984 but as far as I can see you code access
127.0.0.1:80 where it seems an Apache server 2.4.29 runs.

Maybe just connect to port 5984. Not sure about the fopen use but if it
worked before I hope the port change will fix it.

- Martin

.

On Thu, 16 May 2019 at 19:43, Rene Veerman <seductivea...@gmail.com> wrote:

> to be clear : seductiveapps.com is the same machine as i browse from.
>
> On Thu, May 16, 2019 at 7:42 PM Rene Veerman <seductivea...@gmail.com>
> wrote:
>
>> i use an ubuntu server and firefox on the same machine, to connect to
>> seductiveapps.com as shown in the initial post in this thread.
>>
>> i've already got cors installed and changed the
>> /opt/couchdb/etc/local.ini to use bind_address = 0.0.0.0
>>
>> i'm a bit stumped..
>>
>> On Thu, May 16, 2019 at 6:54 PM Martin Broerse <martin.broe...@gmail.com>
>> wrote:
>>
>>> Hi Rene,
>>>
>>> We do this all the time with only bind_address 0.0.0.0 . Try temporary
>>> without the windows firewall and enable CORS.
>>>
>>>
>>>    - npm install -g add-cors-to-couchdb
>>>    - add-cors-to-couchdb
>>>
>>> - Martin
>>>
>>>
>>> On Thu, 16 May 2019 at 18:24, Rene Veerman <seductivea...@gmail.com>
>>> wrote:
>>>
>>>> no that wasn't it. i already did that..
>>>>
>>>> On Thu, May 16, 2019 at 6:00 PM Martin Broerse <
>>>> martin.broe...@gmail.com> wrote:
>>>>
>>>>> Hi Rene,
>>>>>
>>>>> I think bind_address 0.0.0.0 in your config will fix it.
>>>>>
>>>>> - Martin
>>>>>
>>>>> On Thu, 16 May 2019 at 17:12, Rene Veerman <seductivea...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> i've got couchdb up and running on localhost, but now i want to use
>>>>>> it from
>>>>>> an outside IP addess tied to a domain name..
>>>>>>
>>>>>> i think the lingering 127.0.0.1 in the output below might indicate a
>>>>>> problem, but i have no clue about how to fix that.
>>>>>>
>>>>>> http://seductiveapps.com/seductiveapps/siteData/reInit.php?doCouchDB=y
>>>>>>
>>>>>> *Fatal error*: Uncaught RuntimeException: Error creating resource:
>>>>>> [message] fopen(/_node/couchdb@127.0.0.1/_config/admins): failed to
>>>>>> open
>>>>>> stream: No such file or directory [file] /home/rene/data1/htdocs/
>>>>>>
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
>>>>>> [line] 323 in /home/rene/data1/htdocs/
>>>>>>
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php:252
>>>>>> Stack trace: #0 /home/rene/data1/htdocs/
>>>>>>
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(334)
>>>>>> :
>>>>>> GuzzleHttp\Handler\StreamHandler->createResource(Object(Closure)) #1
>>>>>> /home/rene/data1/htdocs/
>>>>>>
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php(51)
>>>>>> :
>>>>>>
>>>>>> GuzzleHttp\Handler\StreamHandler->createStream(Object(GuzzleHttp\Psr7\Request),
>>>>>> Array) #2 /home/rene/data1/htdocs/
>>>>>>
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37)
>>>>>> :
>>>>>>
>>>>>> GuzzleHttp\Handler\StreamHandler->__invoke(Object(GuzzleHttp\Psr7\Request)
>>>>>> in */home/rene/data1/htdocs/
>>>>>> seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
>>>>>> <
>>>>>> http://seductiveapps.com/seductiveapps/lib/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
>>>>>> >*
>>>>>> on line *52*
>>>>>>
>>>>>

Reply via email to