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)
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)
Hi,
What iptables command do I need to run in order to open up the following port for incomming traffic on the following server:
# telnet 127.0.0.1 1521
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection... (3 Replies)
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)
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)
hi all,
My OS is solaris 8 with core system installation only. so far everything works fine. by i do some testing from my xp pc as client to nmap and scan opening port to my solaris. the result as below:
Initiating SYN Stealth Scan against 10.10.10.10 at 16:25
Discovered open port 21/tcp on... (3 Replies)
MSQL_PCONNECT(3)MSQL_PCONNECT(3)msql_pconnect - Open persistent mSQL connectionSYNOPSIS
resource msql_pconnect ([string $hostname])
DESCRIPTION msql_pconnect(3) acts very much like msql_connect(3) with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host. If one is found,
an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for
future use (msql_close(3) will not close links established by this function).
PARAMETERS
o $hostname
- The hostname can also include a port number. e.g. hostname,port. If not specified, the connection is established by the means
of a Unix domain socket, being more efficient than a localhost TCP socket connection.
Note
While this function will accept a colon ( :) as a host/port separator, a comma ( ,) is the preferred method.
RETURN VALUES
Returns a positive mSQL link identifier on success, or FALSE on error.
SEE ALSO msql_connect(3), msql_close(3).
PHP Documentation Group MSQL_PCONNECT(3)