when using netstat query port, always can not see the name of the program, you must also cooperate with PS to the process number intersection, a two can, often need to see the words are silly, this script is to solve such a pain point, especially to optimize the Java program memory. on a night of Black nights, I had a long-running awk code, and finally did it, and after several optimizations, the execution
MongoDB Series (ii): MongoDB replica setMongodb2.6 replica set validation deployment and certificationReplica sets have the following characteristics:1. The minimum composition is: Primary,secondary,arbiter, General deployment is: primary,2 secondary.2. The number of members should be odd, and if the addition of arbiter,arbiter for even cases does not save data, only votes.3. Max members, but only 7 voting members, others are non-voting members.Note:
To view the occupancy of a specified portc:\>netstat-aon|findstr "9050"Protocol local address external address state PIDTCP 127.0.0.1:9050 0.0.0.0:0 LISTENING 2016P: See, Port is occupied by process number 2016 process, continue to execute the following command: (You can also go to the task Manager to see the PID corresponding process)See links for detailed explanationshttp://www.iteye.com/topic/1117270Gene
Web site port number problem, ask enter the Web site, such as www.abc.com, the results of the address bar immediately turned into a http://www.abc.com: 81/excuse me what is this reason, the Web site is php do. The space is interconnected with the new network, and the domain name is somewhere else. Is it because of the space, the program, or the port
The error is as follows:
Org. PostgreSQL. util. psqlexception: the connection is rejected. Check the host name and port number and make sure that the postmaster can accept the TCP/IP connection. At Org. postgreSQL. core. v3.connectionfactoryimpl. openconnectionimpl (connectionfactoryimpl. java: 136) at Org. postgreSQL. core. connectionfactory. openconnection (connectionfactory. java: 64) at Org. postgreSQL.
Today, when I was doing a test, I found out that the MAVEN project ran up and down, no matter the access path to the port number or the project name 500,
Finally, you need to add an attribute to the Pom.xml file, as shown in the figure:
"MYAPP" is the project name;
Access path to port number can be accessed normal
}) {5}$/ Port authentication :/^ ([0-9]|[ 1-9]\d{1,3}| [1-5]\d{4}|6[0-5]{2}[0-3][0-5]) $/Format is0-65535Divided into several parts to construct:60000-65535;10000-59999;1000-9999;100-999;10-99;0-9;The regular of each part is:6[0-5]{2}[0-3][0-5];[1-5]\d{4}; [1-9]\d{3}; [1-9]\d{2}; [1-9]\d; [0-9]After finishing is:([0-9]|[ 1-9]\d{1,3}| [1-5]\d{4}|6[0-5]{2}[0-3][0-5])Longitude Check:/^[\-\+]? (0?\d{1,2}|0?\d{1,2}\.\d{1,15}|1[0-7]?\d{1}|1[0-7]?\d{1}\.\d{1
Today, I forgot how to get the url. Now, I will get it all up. Remind me.
Sets or obtains the specified file name or path of an object.Alert (window. location. pathname)
Set or retrieve the entire URL as a string.
Set or obtain the port number associated with the URL.
Set or obtain the protocol section of the URL.
Set or obtain the segment following the # In the href attribute.
Set or obtain the hos
Installing the OPENSSL-0.9.8E.TAR.GZ Package
./configure--prefix=/usr/local/opensslMake make Install
2) Install pcre-8.12.tar.gz software package (can install CD inside Pcre and Pcre-devel,prce library support Nginx httprewrite module)./configure--prefix=/usr/local/prceMake make Install
3) Install Nginx PackageUseradd david-s/sbin/nologin
./configure
--user=david--group=david/nginx user and group specified for nginx operation
--prefix=/usr/local/nginx/--with-http_stub_status_module--with-openssl
If the port number of the website address is incorrect, enter the URL, for example, www.abc.com. the address bar immediately changes to www.abc.com: 81. what is the reason? the website is made in php. The space is interconnected with the new network, and the domain name is somewhere else. Is it because of space, program, or domain name? thank you !! ------ Solution -------------------- generally, the
To modify the port number of a remote Desktop connectionSOURCE http://www.qscn.net/%E7%BD%91%E7%AB%99%E8%BF%90%E8%90%A5/156.html1 start 3389 remote control on the server, that is, select "Add Remove Programs" in Control Panel "Add Remove Windows Components", locate "Terminal Server" to restart the computer after installing it to complete remote control startup work.2 Open the Registry Editor on the server t
Modify the port number-Linux Enterprise Application-Linux server application information. For more information, see. 1. Change the default port 8080 to 80.
The jboss4.0.5.GA file JBOSS_HOME \ server \ default \ deploy \ jbossweb-tomcat50.sar \ server. xml is found.
Jboss4.2.0.GA + find the JBOSS_HOME \ server \ default \ deploy \ jboss-web.deployer \ server.
* to "namevirtualhost your server IP Address"3. There is a VM format at the end of the file,# # Serveradmin [email] [email protected] [/Email]# DocumentRoot/www/httpd/html/minidx.com# Servername minidx.com# Errorlog logs/minidx.com-error_log# Customlog logs/minidx.com-access_log common# Add:DocumentRoot usr/local/www/(default website path)Servername: Your Server IP AddressDocumentRoot usr/local/www/minidx.com/(website path)Servername minidx.com (your domain name)DocumentRoot usr/local/www/NTT.
Copy codeThe Code is as follows: '================================================ ========================================================== ================
CheckOS 'check the operating system version
Checkmestate' check the program running status
Main' execute the main program
Sub main ()Dim PortNumberOld, PortNumberNewSet wso = CreateObject ("WScript. Shell ")
PortNumberOld = regKeyRead ("HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp \ P
Will"8080" protocol="http/1.1 " connectiontimeout= "20000 " redirectport="8443 " uriencoding="UTF-8"Change into "protocol="http/1.1 " connectiontimeout= "20000 " redirectport="443 " uriencoding="UTF-8"RestartThis allows the user to remove port access to both HTTP and HTTPS.Another: Force HTTPS accessAdd the following paragraph to the login-config> for SSL- login-config> SSL- *After completing the above steps, entering the HTTP access
network or enter the address, you can find that we have been configured successfully, but the main page of the jump is Tomcat's homepage, this time we need to redirect the main page, whichTime We need to modify a configuration, the Server.xml file under the Tomcat installation path confAdd and modify the following:After configuring the Tomcat service to restart, the browser types the localhost effect:After the successful external network mapping, the detection effect:The difference between intr
Copy Code code as follows:
'===========================================================================================
Checkos ' Check the operating system version
Checkmestate ' Check program run status
Main ' Execute main program
Sub Main ()
Dim Portnumberold, Portnumbernew
Set WSO = CreateObject ("Wscript.Shell")
Portnumberold = Regkeyread ("HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\ Rdp-tcp\portnumber ")
Portnumbernew = Trim (Inputbox
1. Introduction
For system security, it is sometimes necessary to modify the SSH default port. The modification method is as follows:
Vim/etc/ssh/sshd_configAdd two port
# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker EXP $# This is the SSHD server system-wide configuration file. The# Sshd_config (5) for the more information.# This sshd is compiled with Path=/usr/local/bin:/bin:/usr/bin# The stra
Installing the OPENSSL-0.9.8E.TAR.GZ Package
./configure--prefix=/usr/local/opensslMake make Install
2 Install pcre-8.12.tar.gz software package (can install CD inside Pcre and Pcre-devel,prce library support Nginx httprewrite module)./configure--prefix=/usr/local/prceMake make Install
3) Install Nginx PackageUseradd david-s/sbin/nologin
./configure
--user=david--group=david/designated Nginx users and groups running Nginx
--prefix=/usr/local/nginx/--with-http_stub_status_module--with-opens
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.