------------I do not have him, but the hand is ripe, humble and foolish, and eager to be hungry-------------on the blog, how to create a Springboot project, so, I this blog about how to run up their first case 1. Prepare a class that allows him to become a controller, controllers, Springboot Web projects with SPRINGMVC integration by default, so look down PackageCn.controller;ImportOrg.springframework.stereotype.Controller;Importorg.springframework.web.bind.annotation.RequestMapping;ImportOrg.sp
To view the Port Occupancy command: Lsof-i View the usage of one of the ports: Lsof-i: Port number to end the process that takes up the interface: Killall process name can also be used command: netstat-APN|grep
Ps-aux Viewing processesTo extract a process:Ps-aux | grep Ps-aux | grep DdLinux View port
Find out which process is consuming commands for a port number1) Use the lsof commandLsof is a very powerful Linux tool that she is used to find out which programs use those files. Under the Linux system, basically everything can be used as a file. The socket is, of course, a file. So lsof can be used to find out who used a certain port. Specific methods:lsof-i:p ort_number |grep "(LISTEN)"-I is used to fin
Debug calls to WCF service times are wrong, updating the WCF service will find that the port number is automatically changed, for example the current port number is 54861:Http://localhost:54861/XLTWCFService.svcThe port number bec
Install two SQL Server database instances on a computer at the same time. The default installation for the first time is the machine name, and the port number is 1433.
1. If you do not know the server name but want to log in, you can directly enter 127.0.0.1 and then enter: Select @ servername in the new query.
You can query the current server name or server name and Instance name. You can use this name t
;dbUser, $this->dbPasword);//mysqli$this->conn=@mysqli_connect($this->dbHost, $this->dbUser, $this->dbPasswd, $this->dbName. $this->dbPort);
The following error is prompted for both methods:
Can't connect to MySQL server on 'cins.swpu.edu.cn' (13)
Obviously, the custom port of the server is not connected, but the custom port is specified during the call. I don't know why.
Enable remote access first for m
Ubuntu15.04 Nginx, Apache2 Modify the default port numberBuild a Web server via Ubuntu, and sometimes you need to modify the port number of the Web service as needed, and here I've compiled the process of modifying the default port number and site directory for Nginx and Apa
Netstat-ano
We can know that a port is occupied by that process (corresponding to the PID;Then we can open the task manager and view the process name corresponding to a PID;If the PID is not displayed, choose "View"> "Select column"> "PID;After learning about a process, we can kill the process and modify the port used by the process.
If we need to determine who occupies our
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
650) this.width=650; "style=" width:602px;height:394px; "title=" the same IP address different ports. jpg "alt=" Wkiol1sqhtqcfcq7aad5a0uhami511.jpg "src=" http://s3.51cto.com/wyfs02/M02/57/0D/ Wkiol1sqhtqcfcq7aad5a0uhami511.jpg "width=" 458 "height=" 326 "/>when browsing the Web site, often encountered in the browser address input Http://IP Address: Port number address for website access. In fact, this is 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.