- Newest
- Most votes
- Most comments
Hi!
I gather you have deployed RabbitMQ through Amazon MQ? What are the settings for the actual RabbitMQ, is the network settings set to 'public access' or 'private access'?
Also, I have scanned the url using Zenmap
Starting Nmap 7.92 ( https://nmap.org ) at 2022-02-11 09:45 W. Europe Standard Time NSE: Loaded 155 scripts for scanning. NSE: Script Pre-scanning. Initiating NSE at 09:45 Completed NSE at 09:45, 0.00s elapsed Initiating NSE at 09:45 Completed NSE at 09:45, 0.00s elapsed Initiating NSE at 09:45 Completed NSE at 09:45, 0.00s elapsed Failed to resolve "<prefix>.mq.us-east-1.amazonaws.com:5671". NSE: Script Post-scanning.
Also, I see
Security and network VPC vpc-xxxxxx3a Subnet(s) subnet-xxxxx0e Public accessibility Yes
But no any Security group. May be I need to add it? How to ?
I have scanned the url without port using ZenMap: the host was found and traceroute built from my local machine to AWS. But: it found only one opened port: 443. I need 5671, what can I do in this situation?
i had simillar problem with C# .Net 6.0. I solved it by adding Ssl setting like following:
string hostName = "b-407ac8c5-64dc-4b0c-adb6-dae0423fa7b1.mq.ap-northeast-1.amazonaws.com"; // change to yours
var factory = new ConnectionFactory()
{
HostName = hostName,
Port = 5671,
UserName = "YOURS",
Password = "YOURS",
`Ssl = new SslOption`
`{`
`ServerName = hostName,`
` Enabled = true`
}
};
Relevant content
- asked 3 years ago
- asked 3 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Hi, yes, I have re-checked again: it is "Public accessibility : Yes" .
What else can I check?