First, use NC to listen to a port locally, such as 5678.
Use openrowset to connect to port 5678 of the local machine.
SELECT .*From openrowset (SQLOLEDB, 192.168.230.1, 5678; sa; MyPass,SELECT * FROM pubs. dbo. authors order by au_lname, au_fname) AS
Note that the port numbers and IP addresses are separated by commas.
You only need to ensure that the IP address
First, add the following configuration in the Nginx configurationserver { listen ; server_name Www.wenki. Info ; #要访问的域名 charset UTF8; / { proxy_pass http://wenki_info; proxy_set_header Host $host; Proxy_set_header X-real-IP $remote _addr; Proxy_set_header X-forwarded-for$proxy _add_x_forwarded_for; }}Reload the configuration using the following commandNginx-s ReloadServer-side Get
The following commands can be used when connecting to the MySQL database remotelyMysql-h 192.168.1.104-u Root-pIf you are installing MySQL for the first time, you need to comment all the bind-address=127.0.0.1 of all configuration files in all/etc/mysql/[mysqld]##*Basic Settings#user=Mysqlpid-file=/var/run/mysqld/Mysqld.pidsocket=/var/run/mysqld/Mysqld.sockport=3306Basedir= /Usrdatadir=/var/lib/Mysqltmpdir= /TMPLC-messages-dir=/usr/share/Mysqlskip-ext
In short, the Remoting Server can make use of Sink and Sink Provider to retrieve the IP address of the incoming request. The IP address was available in the transport Headers of the incoming message. After retrieving the IP addres
Some Ubuntu servers need to prohibit access from some IP addresses. I wanted to use/etc/hosts. allow and/etc/hosts. deny to limit the access. Later I used the utw firewall. Vi/etc/hosts. allowALL: 10.0.0.163, 10.0.0.162, 10.0.0.161vi/etc/hosts. denyALL: after ALL is set,/etc/init. d/netwo has an Ubuntu server that needs to disable some IP addresses for access. I
Article Source Address: http://my.oschina.net/junn/blog/142983The network parameters of Ubuntu server are saved in the file/etc/network/interfaces, and the default setting uses DHCP, as follows:# The Primary network interfaceAuto Eth0Iface eth0 inet DHCPHere's how to set up a static IP:1) Edit Vi/etc/network/interfaces1.1) block the DHCP line# The Primary network
There are now two server AB servers, and the domain name of server A is www. a. comB server has several websites, such as aa. B .com, bb. B .com, and cc. B .com. Now service A uses Curl to access each website on server B, and the DNS ser
When you access a static HTML file on an IIS Web site, such as a index.htm,iis response, a content-location file header is included. If IIS is improperly configured, the Content-location file header will contain the IP address content of the server, causing the leak of the intranet IP
Take 61.133.90.59:80@http$6132,810,811# Shandong province Yantai an agent for example.
61.133.90.59 is represented as a proxy server with an IP address of 61.133.90.59
: 80 ":" The following 80 indicates that the proxy server's service port is 80 (21, 23, 80, 1080, 3128, 8080, etc.)
HTTP, after @HTTP "@", represents the type of the proxy
One of the research and development of a buddy, ping their own IP or their own host name, there is a situation of ping.Compared to other machines, the Ifcfg-lo file found in the/etc/sysconfig/network directory is empty,This address is also not 127.0.0.1 when viewed with "Ifconfig lo".Workaround, copy the Ifcfg-lo file from the other machine to the native.Then, "Ifconfig lo Up"Ifconfig Lo Upping can be resol
The Code was modified in the second version of the high-availability Linux server built by Mr. Yu hongchun: A security script is provided to a friend to prevent other IP addresses from connecting to the server through ssh or being harassed. The following is the test result on an Internet forum of CentOS release 6.3 x64 system.
# cat hosts_deny.sh-----------------
Today, I was shocked to view the SSH logon records of VPS. I used to log on to the SSH dictionary with several IP addresses and guess the root password. Their list is now published:
62.75.214.93 gera125.server4you.de German/German devils
203.215.252.189 Hong Kong Special Administrative Region/speechless ....
219.143.200.169 Beijing Telecom/is still doing bad things in the Party Central Committee ....
60.12.193.134 Zhejiang Huzhou Netcom/
C953dc2c.20.a
Demand:
1. Network card eth0 IP address for 173.17.17.1/24, in this address to build can anonymously upload FTP services, prohibit downloading, prohibit system users access
2. Network card eth1 IP address for 192.168.4.1/24, in this ad
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.