0

I have a problem for consuming data using the my IP address when I running Hono receiver using CLI as described in this url

I tried to use this command from hono root by running the jar file using this command

sudo java -jar hono-cli-0.9-exec.jar --hono.client.host=myIP--
hono.client.port=15671 --hono.client.tlsEnabled=true --
hono.client.username=consumer@HONO --hono.client.password=verysecret --
spring.profiles.active=receiver --tenant.id=Rad-tenant

I have run Hono from docker and all service are running and accessible.
Even I can access the opened ports by docker services for Grafana and prometheus using 3000 and 9090 respectively.
One try that I did is building a dcoker image and running this command from docker in ordered to using exposed docker ports but I got the same error with fewer exceptions see pict [2] which tells the 15671 is closed even it is allocated by docker services.

Adam
  • 2,726
  • 1
  • 9
  • 22
Rad Rad
  • 11
  • 1
  • First, there should be no reason to run this command as root, i.e. you should not need to put sudo in front of it. Second, can you post the output that this command generates? It will make finding the reason much easier ... – Kai Hudalla Apr 02 '19 at 07:45
  • Thanks. now it works fine @kai-hudalla – Rad Rad Apr 05 '19 at 18:46

0 Answers0