Spring Consul using DNS name requires port
up vote
0
down vote
favorite
I have client app using Spring Consul for discovery. I have DNS name which is already pointing to 8500. I don't want to use a port variable in config.
I am running into below issue.
Caused by: com.ecwid.consul.transport.TransportException: org.apache.http.conn.ConnectTimeoutException: Connect to mydnsname.com:8500 [mydnsname.com/XX.XXX.XX.XXX] failed: connect timed out
cloud:
consul:
host: http://mydnsname.com
java spring maven spring-boot spring-cloud-consul
add a comment |
up vote
0
down vote
favorite
I have client app using Spring Consul for discovery. I have DNS name which is already pointing to 8500. I don't want to use a port variable in config.
I am running into below issue.
Caused by: com.ecwid.consul.transport.TransportException: org.apache.http.conn.ConnectTimeoutException: Connect to mydnsname.com:8500 [mydnsname.com/XX.XXX.XX.XXX] failed: connect timed out
cloud:
consul:
host: http://mydnsname.com
java spring maven spring-boot spring-cloud-consul
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have client app using Spring Consul for discovery. I have DNS name which is already pointing to 8500. I don't want to use a port variable in config.
I am running into below issue.
Caused by: com.ecwid.consul.transport.TransportException: org.apache.http.conn.ConnectTimeoutException: Connect to mydnsname.com:8500 [mydnsname.com/XX.XXX.XX.XXX] failed: connect timed out
cloud:
consul:
host: http://mydnsname.com
java spring maven spring-boot spring-cloud-consul
I have client app using Spring Consul for discovery. I have DNS name which is already pointing to 8500. I don't want to use a port variable in config.
I am running into below issue.
Caused by: com.ecwid.consul.transport.TransportException: org.apache.http.conn.ConnectTimeoutException: Connect to mydnsname.com:8500 [mydnsname.com/XX.XXX.XX.XXX] failed: connect timed out
cloud:
consul:
host: http://mydnsname.com
java spring maven spring-boot spring-cloud-consul
java spring maven spring-boot spring-cloud-consul
edited Nov 8 at 22:30
user6910411
31.8k76692
31.8k76692
asked Nov 8 at 19:13
svennela
12
12
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214637%2fspring-consul-using-dns-name-requires-port%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown