Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Clarification #12

Closed
nandhusriram opened this issue Apr 23, 2015 · 6 comments
Closed

Clarification #12

nandhusriram opened this issue Apr 23, 2015 · 6 comments
Assignees

Comments

@nandhusriram
Copy link

How to register with hostname address, I do see only options to set port ?

@rickfast
Copy link
Owner

The hostname is typically provided by the locally running Consul agent. Are you trying to register with a remote Consul server?

@nandhusriram
Copy link
Author

I am trying to register a both local and remote restful service to locally running consul agent .

@rickfast
Copy link
Owner

Ah. I will add Address to the Registration class this week and release a new version. That will allow you to specify a specific host name or IP address.

@nandhusriram
Copy link
Author

Thanks

@rickfast rickfast reopened this Apr 24, 2015
@rickfast rickfast self-assigned this Apr 24, 2015
@rickfast
Copy link
Owner

I've added Address to the Registration object. To register a remote service with the local agent use AgentClient.register(Registration registration)

@rickfast
Copy link
Owner

Will release 0.8.3 today

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants