lsabi opened a new issue, #2882:
URL: https://github.com/apache/iggy/issues/2882

   ### Bug description
   
   Not sure if it's a bug or a request for enhacement.
   
   ## Problem
   During connection build via the client, if an ip addresses is passed (e.g. 
`127.0.0.1`), then the client tries to connect. When passing a dns entry (e.g. 
`host.docker.internal`), it raises `Invalid IP address: 
host.docker.internal:8090`
   
   ## Desired Behaviour
   When connecting, even passing a `dns` entry should result in a successful 
connection (assuming that the entry is correct and matches to an active ip 
address)
   
   ## Notes
   Considering 
[https://stackoverflow.com/questions/28255861/convert-string-to-socketaddr](https://stackoverflow.com/questions/28255861/convert-string-to-socketaddr)
 it seems that there are two ways of establishing a connection: one via ip and 
one via `dns` entry. Not sure if this functionality has not been supported due 
to the added complexity, but in some cases it could be quite handy
   
   ### Deployment
   
   None
   
   ### Versions
   
   _No response_
   
   ### Hardware / environment
   
   _No response_
   
   ### Sample code
   
   _No response_
   
   ### Logs
   
   _No response_
   
   ### Iggy server config
   
   _No response_
   
   ### Reproduction
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to