Intitally I had a working model where I was sending POST requests and could GET the request. At that time, the data was being stored in- memory in H2. But I replaced it with Hbase storage and now I am not able to send API requests.
Here is my application.yml
spring.datasource:
driverClassName: org.apache.phoenix.jdbc.PhoenixDriver
port: 2181
url: jdbc:phoenix:aaa.b.c.d:yyyy
server:
port: xxxx
I send request on this Ip- http://aaa.b.c.d:yyyy/example/v1/forecast but I get this as the error
POST http://aaa.b.c.d:yyyy/example/v1/forecast
Error: connect ECONNREFUSED aaa.b.c.d:yyyy
Request Headers
Content-Type: application/json
Accept: application/json
User-Agent: PostmanRuntime/7.26.1
Postman-Token: 8cec84af-cf36-42e3-a6fb-38b34ba7555d
Host: aaa.b.c.d:yyyy
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Request Body
Please help!