08-21-2009
I'm afraid the "ping -p" suggestion won't work as ping isn't designed to probe ports.
The -p option is about UDP port, not TCP ones.
This option is ignored unless the "-U" option is set.
Ping will report the remote host to be alive regardless of the UDP port being open or not anyway.
9 More Discussions You Might Find Interesting
1. Linux
How can I open a port on linux machine ??? (5 Replies)
Discussion started by: mm00123
5 Replies
2. AIX
Hi Guys,
i am trying to open a port in AIX.
but i am not able to get the command for this. AIX is not having the iptables file present.
So please any body can tell me how to open a port in AIX...
Thanks
sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies
3. IP Networking
Hi. I ran nmap on my server, and I get the following:
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT
Interesting ports on -------- (-----):
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
6881/tcp open bittorrent-tracker
The... (0 Replies)
Discussion started by: Rledley
0 Replies
4. Solaris
Dear members,
My release is open Solaris b103
1- How to know the opening port in my system
2- How to open a specific port like port number 53
3- How to closed the specific port like port number 53
Your feedback highly appreciated (10 Replies)
Discussion started by: dellroxy
10 Replies
5. Solaris
Hi All,
I am installing Infosphere (ETL tool) on solaris 10.
One of the requirement is to open multiple ports for different apps that will be installed. I ran netstat -n | grep 9080 (,etc) but that did not return anything.
I have attached the requirement. Can anyone guide me about how to... (3 Replies)
Discussion started by: sumeet
3 Replies
6. UNIX for Advanced & Expert Users
hi experts,
I'm using Linux Centos kernel 2.6
Here is the print out of some my port :
tcp 0 0 127.0.0.1:10080 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10081 0.0.0.0:* LISTEN
tcp 0 0... (4 Replies)
Discussion started by: justbow
4 Replies
7. 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
8. HP-UX
Hello Experts,
I want to open the port 443 on my HP-UX system.
can you please help ?
Thanks in advance. (1 Reply)
Discussion started by: purushottamaher
1 Replies
9. Solaris
Hi there,
I tried just open a port but I failed ;-(
# telnet localhost 9876
That should work so I did ...
# vi /etc/services
myport 9876/tcp # my port
# svcadm restart inetd
-> New pid, see ps - ef | grep inet
# netstat -an | grep 9876
No port 9876 is waiting ;(
#... (4 Replies)
Discussion started by: System
4 Replies
LEARN ABOUT CENTOS
umad_get_port
UMAD_GET_PORT(3) OpenIB Programmer's Manual UMAD_GET_PORT(3)
NAME
umad_get_port, umad_release_port - open and close an InfiniBand port
SYNOPSIS
#include <infiniband/umad.h>
int umad_get_port(char *ca_name, int portnum, umad_port_t *port);
int umad_release_port(umad_port_t *port);
DESCRIPTION
umad_get_port() fills the port structure with the IB port attributes specified by ca_name and portnum , or the default port if ca_name is
NULL and portnum is zero. If only one of ca_name and portnum are specified, the other is used as a filter. For example, passing a NULL
ca_name and 2 for the portnum means get a port from any of the local IB devices, as long as it is the second port. Note that the library
may use some reference scheme to support port caching therefore umad_release_port() should be called before the port structure can be deal-
located. The argument port is an umad_port_t struct, as specified in <infiniband/umad.h>.
typedef struct umad_port {
char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */
int portnum; /* Physical port number */
uint base_lid; /* Base port LID */
uint lmc; /* LMC of LID */
uint sm_lid; /* SM LID */
uint sm_sl; /* SM service level */
uint state; /* Logical port state */
uint phys_state; /* Physical port state */
uint rate; /* Port link bit rate */
uint64_t capmask; /* Port capabilities */
uint64_t gid_prefix; /* Gid prefix of this port */
uint64_t port_guid; /* GUID of this port */
} umad_port_t;
umad_release_port() releases the resources that were allocated by the umad_get_port() function for the specified IB port.
RETURN VALUE
umad_get_port() and umad_release_port() return 0 on success, and a negative value on error.
AUTHORS
Hal Rosenstock <halr@voltaire.com>
Dotan Barak <dotanb@mellanox.co.il>
OpenIB May 21, 2007 UMAD_GET_PORT(3)