Category: Windows

Solving PHP-CGI Process Crashes on Windows

When using nginx, PHP requests need to be forwarded to a CGI program. About FastCGI: its full name is FastCGI Process Manager, a process manager that manages CGI. There are many process managers on the market, and PHP-FPM is one of them. PHP-FPM acts as a process manager, listening on a port…

Passwordless Login from Windows to Linux

Experiment Environment
Local: Windows 7
Remote: CentOS 6.x, 7.x Linux

1. Windows-side operations:
Download the OpenSSH tool, install it, and generate keys:

http://mirror.cnop.net/ssh/OpenSSH-for-Windows.zip

Open the CMD dialog and enter the following:
ssh-keygen -t rsa -C …

Start and Stop Nginx Commands on Windows

Starting:

Go to the nginx directory and double-click nginx.exe in the Nginx folder, or run in cmd:
start nginx

Stopping
nginx -s stop
or
nginx -s quit
stop means stop nginx immediately without saving related information

quit means exit nginx normally, and …

Why Tracert Shows Only One Hop in DOS and How to Fix

For the longest time, whenever I ran the Tracert command in DOS on my home computer, I would only see a single-hop result, which puzzled me greatly. I originally thought it was an issue on the telecom carrier’s side, so I never bothered to dig into the real cause.
C:/Users/Administrator>tracert ww …

How to Enable Cross-Subnet Communication in a LAN

Many organizations struggle with enabling mutual access between several internal IP segments. For example, the surveillance system (192.168.0.18) and the office network (192.168.5.16) are on different subnets, but you want direct access between them. Today’s guide hopes to help you solve this, using access from 192.168.0.18 to the 192.168.5.x subnet as an example.

How to Stop IP Security Policies in Windows Server 2003

Today, while helping a client troubleshoot a system that couldn’t be accessed remotely, I ran into an issue. I checked and saw that port 3389 was open normally, the Terminal Services service was running fine, and the firewall and other settings were all disabled. However, remote connections to the host still failed, even though connections from within the host worked perfectly.

How to Check Who Is Using a Port

How to Find the PID of a Port in Use on Windows

1.Click Start –> Run –> type cmd, or press the Windows + R key combination to bring up the command prompt window.

2.Enter the command: netstat -ano, to list all ports. In the list, look for the port that is occupied—for example, port 49157—and find it first.

To check the PID corresponding to the occupied port, enter …