Remote connection to Oracle on Linux machine fails

Question: Oracle10g has been successfully installed on the Linux virtual machine, and there is no problem in accessing the database with sqlPlus connection on the virtual machine. However, the remote connection to the Host has been unsuccessful. Toad has always been TimeOut. After various modifications to the Oracle Client configuration, it still does not work. straight after

Writing Java code to try to connect doesn't work either.

I thought it was a network problem, and it was also a variety of settings for the virtual machine network.

Finally solved the problem, it turns out that the firewall under Linux is not closed.

Turn off the Linux firewall directly, and delete it in the boot. It wasted almost two hours, tragic, I have to mark it. ~~~~(>_<)~~~~


 
 

 

 


 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326301057&siteId=291194637