server - Opening Foxx API to local network -
i have setup serverend points work web interface fine api endpoint app not give error , not time out. have tried turn app production mode in web interfaces no joy. @ doc server setup can find thing help.
so think configure issue should look?
on localhost ever thing works. on remote host using 168.192.0.15:8530 web interface works not api form either curl or may app
without further information can guess problem is, i'll try:
the default --server.endpoint
configuration value arangodb server tcp://127.0.0.1:8529
. means able access local machine not other hosts.
to make server respond http requests originated other hosts, need use endpoint includes server's ip address used in network, e.g. tcp://192.168.173.13:8529
, restart adjusted configuration.
if that's not working either, can trying calling target url server via curl , check server's http response code. might reveal source of problem, too. note should invoke curl option --dump -
see http response code. example:
curl -x --dump - http://192.168.173.13:8529/your/app
if not producing results (i.e. no response @ all), might have firewall in between blocks requests. need allow access on port arangodb uses (8529
default , used in example).
Comments
Post a Comment