verify_socket: show what interface:port is in error; DRY refactoring (#33320)
verify_socket: show what interface:port is in error; DRY refactoring (#33320)

* verify_socket: show what interface:port is in error; DRY refactoring

* indexes format strings

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt