问题 I use cx_Oracle module to connect to standalone Oracle server as follows import cx_Oracle CONN_INFO = { 'host': 'xxx.xx.xxx.x', 'port': 12345, 'user': 'user_name', 'psw': 'your_password', 'service': 'abc.xyz.com', } CONN_STR = '{user}/{psw}@{host}:{port}/{service}'.format(**CONN_INFO) connection = cx_Oracle.connect(CONN_STR) but as scan IP doesn not have machine and its own username passoword, How do we connect? 回答1: Es described in the documentation, you can simple use the name defined in