Connect the Oracle client to the server through the firewall

Source: Internet
Author: User

Method 1:

Is the server operating system windows? If yes, find "configuration and migration tools, administration assistant for Windows NT (AAW)", find the leaf node of your Oracle Home directory in the AAW tree, right click, select properties. In the Properties dialog box, add a parameter named "use_shared_socket" with the value "true", and then restart the server.
The problem is that Oracle generates a thread (or process, I cannot remember) when responding to each client request. In this thread, it uses a random port to communicate with the client. After the preceding parameters are set, the unified port is used (tcp1521 by default ).

Method 2:

Create a new string value in the Registry: HKEY_LOCAL_MACHINE \ SOFTWARE \ oracle \ home0: use_shared_socket = true. If multiple directories are installed, set HKEY_LOCAL_MACHINE \ SOFTWARE \ oracle \ homex (X Directory number) for each similar directory)
Restart the instance after setting (only restart listener to find no effect)

 

 

Figure 1

Figure 2

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.