09-12-2008
I do not see any application running at port 80, see log
s01:~ # netstat -na | grep 80
unix 3 [ ] STREAM CONNECTED 13802 /tmp/.esd-0/socket
unix 3 [ ] STREAM CONNECTED 13801
unix 3 [ ] STREAM CONNECTED 13800 /tmp/orbit-root/linc-d32-0-28acf9ad2040e
unix 3 [ ] STREAM CONNECTED 13680 /tmp/orbit-root/linc-ca1-0-563fbc63935c
unix 3 [ ] STREAM CONNECTED 11880 /tmp/orbit-root/linc-d0a-0-c5f84973afd4
unix 3 [ ] STREAM CONNECTED 11805 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 11804
unix 3 [ ] STREAM CONNECTED 11803 /tmp/orbit-root/linc-ca1-0-563fbc63935c
unix 3 [ ] STREAM CONNECTED 11802
unix 2 [ ] DGRAM 11801
unix 3 [ ] STREAM CONNECTED 11280
unix 3 [ ] STREAM CONNECTED 4680 @/var/run/hald/dbus-Mj9ZY6Ua7t
9 More Discussions You Might Find Interesting
1. IP Networking
Hi..
I am using HPux11.0
i want to know if server not listening to a tcp port what should we do to resolve the problem....
in /etc/services tcp port 7108/tcp is mentioned for some perticular application..
while starting that application error is coming could not establish
listening address... (1 Reply)
Discussion started by: Prafulla
1 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
Can someone instruct me on how to change the listening port for ftp ( or any tcp service) from 21 to another port number? Thanks in advance..
-AJ (3 Replies)
Discussion started by: jacobsa
3 Replies
3. What is on Your Mind?
Hi guys, lets make this more interesting... I'm sure you listen to something when your working on a project or something... I know, I do, helps with concentration.
Track: ±¯¸èÖ®Íõ (King of sad songs)
Artist: -îǧ‹Ã Miriam Yeung
Lovely forum BTW! :D (33 Replies)
Discussion started by: hype.it
33 Replies
4. What is on Your Mind?
This is has been posted many times before... It is not in this forum as of now, so I have decided to put it here :D
I'm listening to The Outsiders (AKA Hell is for Heros Part I) by Modern Life is War.... what about ya'll? (4 Replies)
Discussion started by: Mars8082686
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Bit of a newbie question . . .
How can I detrimine what TCP port a particular process is listening on?
TIA. (2 Replies)
Discussion started by: Le Badger
2 Replies
6. Red Hat
How can I have ports that are listening without processes being associated with them?
root@ldv002 # netstat -ltnup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0... (2 Replies)
Discussion started by: Padow
2 Replies
7. AIX
Hello guys
I am experiencing a very strange behavior on one of our AIX servers. We have an application with several processes that listen on several port numbers. Sometimes we receive complains that people cannot connect to the server on a specific port that is used by one the application... (6 Replies)
Discussion started by: abohmeed
6 Replies
8. Ubuntu
I ran 'sudo netstat -ntpl' and got the following without PID
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:38977 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:34253 ... (3 Replies)
Discussion started by: tt77
3 Replies
9. Shell Programming and Scripting
Hi,
bash-3.2$ uname -a
Linux mymac 2.6.18-409.el5 #1 SMP Fri Feb 12 06:37:28 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
bash-3.2$ telnet 10.12.228.40 13900
Trying 10.12.228.40...
telnet: connect to address 10.12.228.40: Connection refused
bash-3.2$ telnet 10.12.228.40 23900
Trying... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT OPENSOLARIS
getpeerucred
getpeerucred(3C) Standard C Library Functions getpeerucred(3C)
NAME
getpeerucred - get connected socket or STREAM peer's credentials
SYNOPSIS
#include <ucred.h>
int getpeerucred(int fd, ucred_t **ucred);
DESCRIPTION
The getpeerucred() function returns the credentials of the peer endpoint of a connection-oriented socket (SOCK_STREAM) or STREAM fd at the
time the endpoint was created or the connection was established. A process that initiates a connection retrieves the credentials of its
peer at the time the peer's endpoint was created. A process that listens for connections retrieves the credentials of the peer at the time
the peer initiated the connection.
When successful, getpeerucred() stores the pointer to a freshly allocated ucred_t in the memory location pointed to by the ucred argument
if that memory location contains the null pointer. If the memory location is non-null, it will reuse the existing ucred_t.
When ucred is no longer needed, a credential allocated by getpeerucred() should be freed with ucred_free(3C).
It is possible that all fields of the ucred_t are not available to all peer endpoints and all callers.
RETURN VALUES
Upon successful completion, getpeerucred() returns 0. Otherwise, it returns -1 and errno is set to indicate the error.
ERRORS
The getpeerucred() function will fail if:
EAGAIN There is not enough memory available to allocate sufficient memory to hold the user credential. The application can try again
later.
EBADF The fd argument is not a valid file descriptor.
EFAULT The pointer location pointed to by the ucred_t ** argument points to an invalid, non-null address.
EINVAL The socket is connected but the peer credentials are unknown.
ENOMEM The physical limits of the system are exceeded by the memory allocation needed to hold the user credential.
ENOTCONN The socket or STREAM is not connected or the STREAM's peer is unknown.
ENOTSUP This operation is not supported on this file descriptor.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
door_ucred(3C), ucred_get(3C), attributes(5), connld(7M)
NOTES
The system currently supports both sides of connection endpoints for local AF_UNIX, AF_INET, and AF_INET6 sockets, /dev/tcp, /dev/ticots,
and /dev/ticotsord XTI/TLI connections, and pipe file descriptors sent using I_SENDFD as a result of the open of a named pipe with the
"connld" module pushed.
SunOS 5.11 26 May 2004 getpeerucred(3C)