Linux Modify Port 22vi /etc/ssh/sshd_configFind #port 22Remove the previous # and then modify port 1234Restart the service is OKservice sshd restartOr/etc/init.d/ssh restartTo enhance securityFirst add a user with normal permissions and set the passworduseradd testpasswd testThen disable root remote SSH login:vi /etc/ssh/sshd_configPut one of thePermitRootLogin yesSwitchPermitRootLogin noRestarting the SSHD serviceservice sshd restartOr/etc/init.d/ssh restartRemote administration log in with nor
) port data packets to enter (tcp)Iptables-a input-p tcp? Dport 53-j ACCEPT
(8) allow 53 (dns) port data packets to enter (udp)Iptables-a input-p udp? Dport 53-j ACCEPT
(9) allow ICMP packets to pass, that is, allow ping
Iptables-a input-p icmp-j ACCEPT
(10) support for connection status using iptables
Iptables-a input-m state? State ESTABLISHED, RELATED-jACCEPT
(11) set the default rule of the INPUT chain to DROP
Iptables-P INPUT DROP
Iptables limits IP addresses to access specific
This article mainly introduces how to deploy Python server modules based on specified ports, which is of great practical value, for more information about how to deploy a server/module based on a specified port in Python, it is of great practical value. Share it with you for your reference.
In some cases, the number of servers is very large during maintenance. Application modules are deployed on different servers. Sometimes the maintenance personnel
When using Redis, I only want this machine to be able to access, when the firewall will prevent outside access1. Locate the firewall and select Advanced Settings2. Click on "Inbound Rules" and click "New Rule"3. Click "Port" and set the port number.4. Next Select "Block link"5, then the next choice check "public", the next step to fill out the name to completeThis should be configured successfully, and finally in the list of inbound rules you can see!Restricted Redis
CMD run NETSTAT-ANP View port usage, find the PID of the occupied portThen run tasklist to find the process that occupies the portThen open Task Manager, kill the process, reboot Tomcat.--------------------------------------------------------------------------------------------If the system is occupied with a port, PID is 4View Task Manager Options-front-end display, view-select columnsFind pid=4 If the task Description NT kernel System is found, resolve the following (refer to http://www.2cto.
Port 80 is required when easywebserver is configured today. Every time I start the system, the system prompts "Port 1 and port 80 are occupied, and Apache fails to start ."But I don't know what port 80 isProgramOccupied. After searching, you can find the following method:
1. Enter cmd in "run"
2. Enter netstat-ano in the startup window to view the usage of all ports and write down the PID of the program that occupies port 80.
3. Open "Task Manage
Linux lower port and service is corresponding, the Java process starts by default listening on 8080 port, if the service is hung up, 8080 port is not.The lsof-i:8080 port, if there is no output, indicates that the port is not working.Want to monitor the Java process 8080 port on the Zabbix platform, if the port hangs up can send an email or send a text message!Implementation method:1. Create a template first: Configuration-->templates then click the Create Templates button in the upper right cor
After work yesterday, the computer installs the Phpstorm. XAMPP installation is normal, but on the Phpstorm directly open the website file has been error, has been error 502. I feel curious quickly, how can the error. After I opened the file with Hbuild, the browser appears normal. I noticed: In Phpstorm, the open in browser path was always wrong. Always be http://localhost:63342/htdocs/index.php, and the correct address should be http://localhost/index.php.The first use of phpstorm has not been
Recently, since I was making Django, I first encountered a problem with the inability to open the page. Because the previous use of Jenkins is 8080 port, so suspect is not a port conflict, and then see an article on the Web to view the port and thread1. View all port usagec:\>Netstat-anoProtocol local address external address state PIDTCP 127.0.0.1:1434 0.0.0.0:0 LISTENING 3236TCP 127.0.0.1:5679 0.0.0.0:0 LISTENING 4168TCP 127.0.0.1:7438 0.0.0.0:0 LISTENING 4168TCP 127.0.0.1:8015 0.0.0.0:0 LISTE
If selinux is not disabled, httpd cannot use non-80 or other default ports. In this case, the httpd port is changed to 9080, and the following prompt is displayed: [root @ haifeng ~] # Service httpd startStarting httpd: (13) Permission denied: make_sock: cocould not bind to address [::]: 9080 (13) Permission denied: make_sock: cocould not bind to address 0.0.0.0: 9080no listening sockets available, shutting downUnable to open logs [FAILED] solution: 1
Configure two service for CATALINA.APP1 and CATALINA.APP2 in Server.xmlStart Tomcat after configuration650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/9B/wKiom1YjeYrQBHrwAAIZcVQIwyA451.jpg "title=" capture. PNG "alt=" Wkiom1yjeyrqbhrwaaizcvqiwya451.jpg "/>Reference article:Http://wenku.baidu.com/link?url=CDX6-xdricOb_nrCqJj7GTPa3lu_ Tmg9de5-sx6zisnidatcqqwjnikexgdtdawx-r6illjvqtvjdizlshhjixvcqctjffh_13p_aoxmqm3Http://www.linuxidc.com/Linux/2012-06/62032p2.htmThis article is from th
port package can also be collected from the IO system. The PostQueuedCompletionStatus function allows an application to deliver a specific package to the IO completion port without enabling asynchronous IO operations. For example, this is useful for non-Event Notification worker threads. I/O completion port handle and each descriptor handle are associated with a specific I/O completion port and are considered to have received the completion port. When there is no reference associated with it, t
In Windows and Linux, the Tomcat process is killed and other ports are occupied.
1. application scenarios
In Windows or Linux, when we start a tomcat server, we often find that port 8080 is occupied, and we do not know how to stop the tomcat server.
2. Killing processes in the window environment
1. First, find the PID of the process that occupies port 8080 (tomcat uses port 8080 by default. If you have modified the tomcat listening port, enter your to
Currently do a project, the front-end is Angularjs, the backend Nodejs do the server.I tried to initiate a request to the NODEJS server using the following method:Server-side I simplified as follows:With IE11 Browser, can successfully return Hello World, but Firefox and Chrome but not, F12 open the debugger, found that cross-domain access caused by, belong to the browser protection mechanism. My solution is that using CORS (cross Origin Resource sharing,cors) is a good way to solve cross-domain
Used to do on the PC, are configured a port, a whole bunch of virtual directories:In the \conf\extra next find httpd-vhosts.conf This configuration file, like the following configuration on the line, listen to 80 port, access to the corresponding servername can. Sure, look at this httpd.conf .# Virtual Hostsinclude conf/extra/httpd-vhosts.confOpen No.*:80>documentroot "D:\www\Apache2.2\htdocs\zjzhome" ServerName 127.0.0.2VirtualHost>*:80> documentroot "D:\www\Apache2.2\htdocs\TravelNoteAMap" Se
, will ssl_module this sentence before the # number removedThen through the following statement to import the httpd-ssl.conf file, the reason is two because the business and consumer sites two, you need to import two different configuration files, or you will go directly to the same page.4) The first two of the virtual directories inside the configuration are examples, to be deleted.In this way, you can check that the httpd.conf file is configured correctly, and if it is configured correctly, th
MyEclipseConfiguring the Tomcat PortWindow--"configuration--" myeclipse--"8080To configure access to a Web project from the root directory(Reference: http://www.cnblogs.com/zhwl/p/3629861.html)1. Right-click Project--"MyEclipse: The context directory by/project Nameinstead/ 2. After the modification, redeploy the project, prompting to restore the Tomcat installation, otherwise it cannot be deployed. EclipseConfigure portsTo configure access to a Web project from the root directoryMyeclipseeclips
As the company's application demand increases, the number of servers is also increasing. As the number of servers increases, we will find that a puppetmaster is under great pressure and resolution is slow, in addition, there may be errors such as "time out" from time to time. Is there any optimization solution? We found a solution on the official Puppet website. We found that puppetmaster can configure multiple ports and combine them with WEB Proxy (N
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.