Modify the database default port

Source: Internet
Author: User

Overview: A test database was built. In order to ensure the data consistency of each test terminal and collect the data of the test terminal in real time, a SQL Server database can be accessed by the extranet.

Implementation method: Using the Peanut Shell Intranet version (certification fee of 9 yuan)

Problem: After using the default port, it is found that the user name and password of the database are frequently violently tested, and the frequency of 20 times per second is reached.

Workaround:

1. Use the database Configuration tool to modify the default port of SQL Server to 4311

2. Restart the database

3, connected to the database place using the original server address after adding ", 4311" port number, such as the original use (192.168.1.100) is now changed to (192.168.1.100,4311)

The database connection string is changed to: "<add key=" Dbconn "value=" Data source=192.168.1.100,4311;initial catalog=testdb; User Id=userdb; password=password! "/>"

4, in the peanut shell outside the network mapping place made an external network 1011 port map to the intranet 192.168.1.100 4311 port

5, in the need to connect to the database Test terminal configuration file, the Peanut shell intranet version of the domain name in the domain after adding ", 1011"

6, further increase the password strength of all database user names

After the above configuration, I feel better.

Modify the database default port

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.