IO 错误: The Network Adapter could not establish the connection

IO 错误: The Network Adapter could not establish the connection

问题出在oracle的tnsnames.ora文件和listener.ora文件。tnsnames.ora配置文件:

IO 错误: The Network Adapter could not establish the connection

listener.ora配置文件:

IO 错误: The Network Adapter could not establish the connection

改完后重启Oracle服务即可。