Home put two computers, in one of the Taichung did a website, but there is no domain name, want to let students visit their results, but the local address is 192.168.1.2 such an address is not possible to make extranet access, which is the router's internal allocation of IP addresses. This problem bothered me for a long time, and now finally got a trace of understanding and solve.
First landing router to find
This article mainly introduces the ASP. NET MVC uses Knockoutjs to realize landing and record the user's internal and external network IP and the city (recommended), the need for friends can refer to the next
Objective
The first article in front opened, now want to start from the landing, but there are still a lot of things to be written in front, such as
1. Route configuration for MVC and Web APIs, how th
PHP calls an external service to obtain IP region information to achieve regional association of information. Recently, the project requires that the region distribution information be displayed, so you can understand the IP address and province and city information. the following two solutions are used to obtain the user's peripheral information: 1. using the
into the router and look at the IP address of our routed WAN port.
WAN Port
This IP (27.40.127.248) is an extranet user can uniquely identify your computer address of the routing ip, but a route is generally connected to several computers at the same time, how to let visitors find you, this needs to port mapping.
Port
the IP address of our routed WAN port.
WAN Port
This IP (27.40.127.248) is an extranet user can uniquely identify your computer address of the routing ip, but a route is generally connected to several computers at the same time, how to let visitors find you, this needs to port mapping.
Port mappings are also known as
The complete effect of these 4 battles is: Let the Raspberry Pi send its own IP address to the mailbox automatically by mail.Combat 2 : http://blog.csdn.net/make_app/article/details/47305179Combat 3 : http://blog.csdn.net/make_app/article/details/47305337Combat 4: http://blog.csdn.net/make_app/article/details/473053870. System EnvironmentRaspberry Pi A +, system wheezyInput uname-aThis is my Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 18:02:18 BST
In linux, allow external ip addresses to access your mysql database bitsCN. allow external ip addresses in comlinux to access your mysql database 1: Set the mysql configuration file/etc/mysql/my. cnf, find bind-address = 127.0.0.1, and comment it out. // This function no lon
We know that the operators assigned to the dynamic IP,IP address over a period of time will be their own changes, which will require static address of the application inconvenience, such as building a server or remote control of the computer, this situation must know their own computer IP, using Python can easily detect and send mailboxes to the mailbox.However,
Allow external ip addresses in linux to access your mysql database 1: Set the mysql configuration file/etc/mysql/my. cnf, find bind-address = 127.0.0.1, and comment it out. // This function no longer allows local access only. Restart mysql:/etc/init. d/mysql restart; www.2cto.com 2: Enter mysql database mysql-u root-p mysql> grand all privileges on *. * to root @
In Linux, allow external ip addresses to access your MySQL database:
1: Set the mysql configuration file
/Etc/mysql/my. cnf
Find bind-address = 127.0.0.1 and comment it out; // This will no longer allow local access only;
Restart mysql:/etc/init. d/mysql restart;
2: Enter the mysql database
Mysql-u root-p
Mysql> grand all privileges on *. * to root @ '%' i
, from (Vmvare edit-"virtual network adapter--" DHCP settings), you can see that the DHCP server only provides 192.168.163.128-192.168.163.254 leases650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= "http ://s1.51cto.com/wyfs02/m01/85/24/wkiol1ea6y2xcjzeaahh2i__vq0172.png-wh_500x0-wm_3-wmp_4-s_2607668167.png "title = "4.pn
panel/Domain name resolution list/Add domain name.Select the dynamic Domain name resolution record, use a free two-level domain name, or your own domain name. The mouse is placed in the input box with a wizard prompt.After you add dynamic resolution, view the status in the resolved list in the domain name resolution. The dynamic resolution domain name corresponds to the local public network IP.3, router port mapping, route map Web Access port. Becaus
This post was last edited by u011822059 on 2013-09-03 11:29:58
PHP mysql connection handle extranet ip php 2s connection handle MySQLTitle:
Server on the PHP connection server MySQL database, the database address is used external IP, resulting in occasional MySQL database connection handle need 2s,
This means that the database address of MySQL is connected
“Ipconfig.exe/all "can only obtain internal IP addresses in the LAN, and cannot obtain external IP addresses of the local machine, as does DNS. Resolve. After research, in the LAN, only by the power of the local machine is unable to obtain the external IP of the local machi
Linux server maintenance-count the number of connections to view the external connection ip-Linux Enterprise Application-Linux server application information. For details, see the following. Server statistics:
1) count the number of connections on port 80
Netstat-nat | grep-I "80" | wc-l
1
2) count the number of httpd connections
Ps-ef | grep httpd | wc-l
1
3) collect statistics on connected instance
Article Title: Linux Server maintains the number of statistical connections to view external IP addresses. Linux is a technology channel of the IT lab in China. Includes some statistics on some basic classification servers, such as desktop applications, Linux system management, kernel research, embedded systems, and open source:
1) count the number of connections on port 80
Netstat-nat | grep-I "80" |
Linux server maintenance statistics on the number of connections view some statistics on the external IP server: 1) Statistics on port 80 connections netstat-nat | grep-I "80" | wc-l 1 2) count the number of httpd protocol connections ps-ef | grep httpd | wc-l 1 3), count the number of connected, the status is "established 'netstat-na | grep ESTABLISHED | wc-l 2 4). Fin
Determine if the IP address is an intranet IP addresspublic static bool Isinnerip (String ipAddress){BOOL Isinnerip = false;Long Ipnum = Getipnum (ipAddress);/**Private Ip:a class 10.0.0.0-10.255.255.255Class B 172.16.0.0-172.31.255.255Class C 192.168.0.0-192.168.255.255And, of course, 127 of this network segment is the loopback address.**/Long Abegin = Getipnum ("10.0.0.0");Long aend = Getipnum ("10.255.25
In this article, we will share a php program that can ping multiple ip addresses at the same time and then compare and find the fastest ip address in the network. This program is used to find the proxy ip address, but it is an artifact. In this article, we will share a php p
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.