Encapsulate a detection port as a taskpublic class Checkportstask extends supersupervisory{private static omcomponentinstanceprocess omcomponentinstanceprocess;Private listpublic boolean check () {Omcomponentinstanceprocess = Omcomponentinstanceprocess.getinstance ();List=omcomponentinstanceprocess.getcomponentinstanceprocesslist ();for (int i=0;iSystem.out.println (i);String[] ports={""};try{Ports=list.get (i). Get ("ports"). ToString (). Trim (). Sp
interviewed.Setting up access rules is easy, in Control Panel \ Windows Firewall \ Advanced settings. Add an inbound rule to it. ( This example takes Windows Server R2 as an example )Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgvqdw8=/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70 /gravity/center ">All the way to the default selection, the next step can be followed. Server program and
://s3.51cto.com/wyfs02/M01/58/71/wKiom1Svtq_ipCAtAAAHyETop0E688.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/6D/wKioL1Svt3OjTVHkAACcbsH_zRQ780.jpg "/>After the IP configuration of the Lser2 server is changed correctly, the network starts properly and the IP address is successfully obtained:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/71/wKiom1SvtrCi4TaAAACeBNLJN1w617.jpg "/>650) this.width=650; "src=" http://s3
Direct access to IP address 80 port, nginx resolution to the corresponding serverYou need to configure the server default parameterserver {listen 80 default;server_name www.mysite.com;access_log logs/qb.app.access.log main;error_log logs/qb.app.error.log warn;}Nginx Configuration default 80 port default server
Deploying the Zabbix service today always prompts Zabbix server is not runningUse the command to view the port and not start.# Netstat-an |grep 10051Later on the Internet someone mentioned whether MySQL was not connected successfully. Suddenly think of the MySQL database to grant account rights when the limit can only 127.0.0.1 login this account.#mysql-u root-p #输入密码 into MySQL console#grant all on Zabbix
Nmap IP server address to scan=============================PORT State SERVICE21/TCP Closed FTP22/TCP Open SSH80/TCP Open http443/TCP closed HTTPS5901/TCP closed Vnc-120000/TCP Open DNP20005/TCP closed BTX20031/TCP closed Unknown20221/TCP closed Unknown20222/TCP closed Ipulse-ics20828/TCP closed Unknown21571/TCP closed Unknown22939/TCP closed Unknown23502/TCP closed Unknown24444/TCP closed Unknown24800/TCP c
1. Downloaded from XAMPP Xampp-linux-1.7.3a.tar this package, and then FTP to my Linux virtual machine,2. Copy to opt, (can be extracted directly) to opt under, tar xvfz Xampp-linux-1.7.3a.tar3. Can be installed directly or called Initialize LAMPP,:/OPT/LAMPP/LAMPP start shows that the installation was successful and started successfully.In order to facilitate debugging later, I put lampp boot file under/bin, you can directly lampp Start,restart,stop4. You can access the Web site default directo
1 If you install the system from the RPM package with the situation:
Modify/ETC/MY.CNF
[mysqld]datadir=/var/lib/mysqlport=3300 #修改成你自己想要的端口socket=/var/lib/mysql/mysql.sock[mysql.server]user=mysqlbasedir=/var/lib[safe_mysqld]err-log=/var/log/mysqld.logpid-file=/var/run/mysqld/mysqld.pid
Save exit.
2 If you are installing a different source package or installing multiple MYSQLD services on the same server:
The same configuration, find the
In the management of the Telnet service, how do we manage the configuration of the Telnet server? Here we will help you introduce the command Interpretation Program and TCP port settings. For more information, see win2008 and Vista.
Configure the command interpreter used by the Telnet server
Application to: Windows Server
Recently generated a new Web server, after booting cannot start the socket listener, check the program itself is not a problem,Find out why, just make a mistake when publishing. The process is as follows:1. Delete the original Web server on the Eclipse platform;2. Create a new server3. Delete all files under the Tomcat Server Conf directory, and the config file u
How to remotely restart the NT Server with port 139Recently, many friends asked me: if the remote management software of the NT machine is broken, how can it be restarted? In fact, if port 139 of the server is on, it is very easy to restart. The steps are as follows:
1. net use // XXX. XXX/IPC $ password/User: Username
When you open website today, press F5 to debug and Right-click a. aspx file and click View in browser. The following error is prompted:
---------------------------ASP. NET development server---------------------------ASP. NET development server failed to start listening on port 3417.Error message:An attempt was made to access a socket in a way forbidden by its A
There are many methods to forward user port numbers to tomcat when apache is used as a proxy server. The mod_rewrite and mod_headers modules are required. The steps are as follows: www.2cto. com1. in... there are many methods to forward user port numbers to tomcat when apache is used as a proxy server. The mod_rewrite
1.powerdns settings650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/60/wKiom1WaTfqB55koAAHs-TR85D0250.jpg "title=" Qq20150706174216.jpg "alt=" Wkiom1watfqb55koaahs-tr85d0250.jpg "/>2. Internal website IntroductionWeb server using Nginx, intranet DNS using Powerdns.The functions you want to implement are as followsJump to the A page via IP access, and let it jump to page b when accessed via the domain name. Both methods have a
Many friends do not know how to add a port on the WINDOWS2008 server firewall directly shut down, this method steps as follows:
In the Start menu into the system of the "Control Panel-windows Firewall-turn on or off Windows Firewall", this is not recommended Oh, although the win system comes with a small firewall function is not a good use of better
Windows2008 The se
Nginx suddenly fails to run, prompting the binding 0.0.0.0:80 failed.1. Use the Netstat-ano command to view the port situation, knowing that the PID 4 process occupies 80 ports, but this is the system process cannot end.2. Next, use net stop http with the Sc config http start= disabled to disable the HTTP service, and the overview disables the World Wide Web Publishing Service, restart the server. 3. Once a
: Server Startup in 9860 MSKey information:Java.net.BindException:Address already in use:jvm_bind:8080Error Reason:8080 ports are occupied by other applications!Solution:The first step, the command prompt symbol, executes the command: Netstat–anoActive connectionsProto Local address Foreign address State PIDTCP 0.0.0.0:8080 0.0.0.0:0 Listening 656TCP 0.0.0.0:8080 0.0.0.0:0 Listening 656Visible, 8080-port-co
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.