loentar / ngrest

Fast and easy C++ RESTful WebServices framework
Apache License 2.0
465 stars 94 forks source link

domain --> ip address ,500 Internal Privoxy Error #67

Closed isGt93 closed 5 years ago

isGt93 commented 5 years ago

How to configure a domain name or ip address ??

visit http://144.34.143.180:9098/ngrest/services/Echo

and then appear this :+1:

`500 Internal Privoxy Error Privoxy encountered an error while processing your request:

Could not load template file no-server-data or one of its included components.

Please contact your proxy administrator.

If you are the proxy administrator, please put the required file(s)in the (confdir)/templates directory. The location of the (confdir) directory is specified in the main Privoxy config file. (It's typically the Privoxy install directory).`

isGt93 commented 5 years ago

o, i see.it is ok : :+1: just set env like this:

export NGREST_SERVER_IP="144.34.143.180"