Posts

Showing posts with the label Port

Apache Is Not Running From XAMPP Control Panel ( Error: Apache Shutdown Unexpectedly. This May Be Due To A Blocked Port)

Answer : There are many possible answers for this problem. The most common and most likely is that you're running another program which is blocking port 80 or 443. If you've installed Skype, then you've found your problem! Change apache's port settings to 81 and apache will work. There's a good tutorial on that To check this you can open up your command line by clicking the start menu, and typing 'cmd', and enter the command netstat -nab this wil return a list of programs that will vaguely resemble this pattern [someprogram.exe] UDP [fe80::numbers:numbers:numbers:numbers%numbers]:portnumber You need to find a line (or lines) ending in :80 and terminate them in order to start apache. If there is no line ending in :80, there are more things you can do. First, navigate to xampp's directory (default is c:\xampp) and double click apache_start.bat. This will open up a comand line and return more detailed errors about why apache can...

Check If Port Is Open Or Closed On A Linux Server?

Answer : Solution 1: You can check if a process listens on a TCP or UDP port with netstat -tuplen . To check whether some ports are accessible from the outside (this is probably what you want) you can use a port scanner like Nmap from another system. Running Nmap on the same host you want to check is quite useless for your purpose. Solution 2: Quickest way to test if a TCP port is open (including any hardware firewalls you may have), is to type, from a remote computer (e.g. your desktop): telnet myserver.com 80 Which will try to open a connection to port 80 on that server. If you get a time out or deny, the port is not open :) Solution 3: OK, in summary, you have a server that you can log into. You want to see if something is listening on some port. As root, run: netstat -nlp this will show a listing of processes listening on TCP and UDP ports. You can scan (or grep) it for the process you're interest in,and/or the port numbers you expect to see. If the p...