Home > database > The Oracle database JDBC Connection problems: java.net.ConnectException: Connection refused: connect
The Oracle database JDBC Connection problems: java.net.ConnectException: Connection refused: connect
Time:09-25
Say: my first No problem when studying the JDBC connection database Later learned the servlet deployed tomcat a problem when I come back again write JDBC: Baidu is loading port occupied set doesn't work to the oracle and JDK or cannot use Everyone a great god, please show I am not really familiar with TCP communications
1. Write a very simple test code as follows;
2. The eclipse error
Part 3. The port number query results
The great god that how to solve?
CodePudding user response:
River's lake emergency, the great god, online, etc
CodePudding user response:
You first check the tnsnames. What is the port that is configured in the ora