Goal
I have a server, where all the traffic to any public IP goes through proxy. I have configured https_proxy
and http_proxy
.
I want to connect to ActiveMQ Artemis running in cloud with public IP.
Now, when I hit a curl command to ActiveMQ Management Console I get the response, which implies that I am able to reach to the server
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hawtio</title>
<base href='/activemq/'>
<link id="favicon" rel="icon" type="image/x-icon" href="img/favicon.ico?v=1">
<link rel="stylesheet" href="css/lib-6a1e4ce9ea.css"/>
<link rel="stylesheet" href="css/app-9653e9917c.css"/>
<!-- branding -->
<link id="branding" rel="stylesheet" type="text/css" href="" />
<script src="js/lib-e53c220218.js" defer></script>
<script src="js/app-fafe513f4b.js" defer></script>
</head>
<body>
<hawtio-login></hawtio-login>
</body>
</html>
If I do a telnet to the ActiveMQ Server, it times out.
telnet <ip> 61616
What I tried?
I tried to configure Netty over HTTP Protocol, but still it times out
artemis producer --url "tcp://<ip>:61616?httpEnabled=true" --user "artemis" --password "artemis" --message-count 1