05-22-2008
Quote:
Originally Posted by
sparcguy
friend there is no command that you can execute that will tell you which process id tied to port 80, stop creating threads everywhere.
To trace what is using a certain port
netstat -an | grep \\.80
will list out the IP address that is using port 80, then of course from there once you have the IP address you should know in your company/organisation which are the webservers that are using which IP address, this knowledge is domain you must know.
The purpose of using telnet localhost 80; GET /
is used for troubleshooting to isolate problems only. If client cannot access url but when determined that telnet GET / is able to return some ascii output means there's nothing wrong with webserver and isolate that it's probably a client connectivity issue.
Of course when you are troubleshooting you must also know what you are doing.
When i given the command netstat it resulted as follows (not IP)
netstat -an | grep \\.80
*.80 *.* 0 0 49152 0 LISTEN
10 More Discussions You Might Find Interesting
1. IP Networking
I want to write a program to list all port numbers a process like web server is listening to.Is there a any unix command to find the port numbers and the processes(pid) connected to that port. (6 Replies)
Discussion started by: laddu
6 Replies
2. UNIX for Dummies Questions & Answers
Hi Unix Gurus,
Can we find out the port number used by the oracle process is running.I tried to search the forum but coudnt find.
Can anyone help me out with the command (2 Replies)
Discussion started by: thana
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am on a Sun Solaris and I want to find out which process is allocated on a certain port. How can I do that?
BR
Andreas (4 Replies)
Discussion started by: mr_andrew
4 Replies
4. Shell Programming and Scripting
Unix gurus,
I have a requirement wherein I want to find the port number for a given process id.
Is it possible? If so how?
TIA,
Regards,
Praveen (3 Replies)
Discussion started by: sunpraveen
3 Replies
5. Shell Programming and Scripting
suppose there are in 10 different server
how can i know in which server a process (ex:oracle )is running (6 Replies)
Discussion started by: alokjyotibal
6 Replies
6. AIX
There have been a lot of threads about how to find processes that are using a specific port on an AIX server. After long hours of research and reading countless "you can't do that" responses, I finally found the answer.
YES IT CAN BE DONE! YES ITS EASY. NO, I DON'T KNOW WHY NO ONE GETS THIS... (2 Replies)
Discussion started by: troym72
2 Replies
7. Web Development
Hi
I have a solaris 9 OS with apache web server running on top of it. i want to know how many http connections are active at any point in time. (In other words how many users are accessing my website it at any moment of time)
How to get it..?
hit counters are not required...
----------... (0 Replies)
Discussion started by: aemunathan
0 Replies
8. UNIX for Dummies Questions & Answers
Server has more TIME_WAIT connections in Apache(port 80) Hi,
My webserver has 16GB of RAM and CentOS 5.5, Apache 2.2.3, It's shared webserver used of for webhosting. I have optmized the server as :
<IfModule prefork.c>... (4 Replies)
Discussion started by: chandranjoy
4 Replies
9. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
10. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
apache(1M) System Administration Commands apache(1M)
NAME
apache - Apache hypertext transfer protocol server overview
DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta-
tion.
FILES
The apache HTTPD server is integrated with Solaris.
The following files specify the installation locations for apache:
/etc/apache Contains server configuration files.
A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example
to the httpd.conf file and making local configuration adjustments.
/usr/apache/bin Contains the httpd executable as well as other utility programs.
/usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test
page that gets installed upon fresh installation.
/usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8)
/usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the
url:
file:/usr/apache/jserv/docs/index.html
/usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied
into this directory.
/usr/apache/man Contains man pages for the server, utility programs, and mod_perl.
Add this directory to your MANPATH to read the Apache man pages. See NOTES.
/usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache.
/var/apache/cgi-bin Default location for the CGI scripts.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/htdocs Default document root.
This can be changed by altering the httpd.conf file and restarting the server.
/var/apache/icons Icons used by the server.
This normally shouldn't need to be changed.
/var/apache/logs Contains server log files.
The formats, names, and locations of the files in this directory can be altered by various configuration directives
in the httpd.conf file.
/var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file.
The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWapchr |
+-----------------------------+-----------------------------+
| |SUNWapchu |
+-----------------------------+-----------------------------+
| |SUNWapchd |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5)
http://www.apache.org
NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org
The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add
/usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is
not supported.
SunOS 5.10 8 Aug 2000 apache(1M)