Skip to content

How to connect to gateway:80 from agent? #59

Closed Answered by hut36
hut36 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I solved it like this:

In the agent config file, use the gateway container name as domain name and Ws protocol:

gateway: narrowlink-gateway:80
token: token
service_type: Ws

And add narrowlink-gateway to the domain list of gateway config file:

...
- !Ws
  domains: ["nl.mydomain", "narrowlink-gateway"]
  listen_addr: "0.0.0.0:80"

Thank you for your help!

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hut36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
C-question Category: User questions that are neither feature requests nor bug reports
2 participants