Local LAN It machine Oracle database, "appear ora-12170:tns: Connection Timeout" error

Source: Internet
Author: User

Today, using the laptop's Plsql developer to connect to Oracle on another desktop in the LAN, the login process is slow, and then reports

Ora-12170:tns occurred: Connection timeout

Such a mistake, Baidu a long time to find a solution.

It is said that the window firewall does not allow Oracle to communicate with the outside, so you need to add an exception or exception port to the window firewall.

Another computer in my local area network (with Oracle) installs the Win7 system. The following settings will solve the problem.

Click "Start"-> "Control Panel"-> "Windows Firewall"-> "Advanced Settings"

Right-click above "Inbound Rules", select "New Rule"-> Select "Port, click Next-> Select" Specific local port "and enter 1521 port, click Next->

Select "Allow connection", click Next-> here to let it be selected by default, click Next-> input rule name, in order to see the name of the idea, here I entered is oralce_in_port, click Complete,

This completes the inbound rule.










It is also necessary to set up outbound rules just to set up an inbound rule that cannot be connected to another computer's Oracle from the LAN.

The setup of outbound rules is similar to the establishment of inbound rules, so this is no longer demonstrated here.


By completing the set of inbound rules and outbound rules, the normal script machine can connect to another Oracle database server in the local area network.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.