Những Thủ thuật HAY trên WEB

Chia sẻ bởi Nguyễn Kao Kỳ | Ngày 14/10/2018 | 59

Chia sẻ tài liệu: Những Thủ thuật HAY trên WEB thuộc Tin học 8

Nội dung tài liệu:

How to Check and Identify Which Application is Listening or Opening Port 80 and 443 on Windows
After installing Apache HTTPD web server or Microsoft IIS Internet Information Services web server, or any other application software or service and daemon that requires to open and listen to port 80 (HTTP) or port 443 (HTTPS SSL), it’ll be a surprise if some other application or processes have stolen, used and occupied port 80 and/or 443. No web server has been running on the Windows system before, so what’s the process that uses port 80 or 443 on the system? For example, after installing Apache web server using XAMPP, the following error message may appear:
(OS 10048) Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Here’s a few built-in commands and how to guide that can help users to find out and identify which application or process that is already using, opening and listening on port 80 or 443 on the Winodws operating system such as Windows Vista, Windows XP, Windows 7, Windows Server 2003 and 2008.
Open Command Prompt window by typing Cmd in Run command box or Start Search, and hit Enter.
Type in the following netstat command:
netstat -o -n -a | findstr 0.0:80
or
netstat -o -n -a | findstr 0.0:443
or simply,
netstat -aon
Note: The last command will list all connection that is listening, established, starting, closing and all other states, so the list is long, and user has to manually search for rows that has connection originating or targeting to 1270.0.1:80/443 or 0.0.0.0.80/443.
The following line(s) of results should be returned:
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 8704
The last column of each row is the process identified (process ID or PID).
Identify which process or application is using the port by matching the PID against PID number in Task Manager.
Another alternative to determine and identify which application is using port 80 or 443 is by using Telnet application. Just type the following command to Telnet to the system in port 80 or 443:
telnet localhost 80
or,
telnet localhost 443
If the Telnet connection can be opened, normally the banner of the application which opens the port will be shown, and help user to identify which process that actually listening on the port.
Tip: The command above can be used to identify and check what processes is using any other ports too, such as 7 (Echo), 21 (FTP), 23 (Telnet), 25 (SMTP), 53 (DNS), 70 (Gopher), 79 (Finger), 107 (RTelnet), 110 (POP3), 119 (NNTP), 139 (NetBIOS), 143 (IMAP), 194 (IRC), 3128, 8080, 10000, and etc.
Share and contribute or get technical support and help at My Digital Life Forums.

Disable Skype from Using, Opening and Listening on Port 80 and 443 on Local Computer
If you want to install a web server, or an application which requires web pages or console to be served via common HTTP or HTTPS ports, i.e. port 80 and port 443, there may be error message that saying the port 80 or 443 has been in used or occupied by another application. However, no web server such as Apache or IIS (Microsoft Internet Information Service) is currently installed or running on the system. If you investigates to the root by identifying which application is using the port 80, the cause of the problem is due to . Skype allows users to use port 80 and 443 as an alternatives for incoming connections. Skype uses port 80 and 443 to allow Skype behind to connect to peer or accept incoming connection from peers though NAT which otherwise won’t be able to connect through the blocking or restrictive firewall that doesn’t permit any other ports to be opened.
Skype which is listening, opening and occupying port 80 and port 443 (for SSL HTTP connection) can prevent other applications which require such port from working properly, as such the ability of Skype to use port 80 and port 443 has to be stopped, turned off and disabled. Beside, leaving the port 80 and 443 opens and listening also has where the port can be scanned by malicious or hacker to launch attack or infection.
To turn off and disable Skype usage of and listening on port 80 and port 443, open the Skype window, then click on Tools menu and select Options. Click on Advanced tab, and go to Connection sub-tab. Untick or uncheck the check box for Use port 80 and 443 as an alternatives for incoming connections option. Click on Save button and then restart Skype to make the change effective.

Share and contribute
* Một số tài liệu cũ có thể bị lỗi font khi hiển thị do dùng bộ mã không phải Unikey ...

Người chia sẻ: Nguyễn Kao Kỳ
Dung lượng: 460,50KB| Lượt tài: 1
Loại file: doc
Nguồn : Chưa rõ
(Tài liệu chưa được thẩm định)