04-10-2013
Quote:
Originally Posted by
RHCE
So the grep has to be on 'httpd' and not 'https', is my observation correct?
Right. Not because of the
service httpd instead of https, but to find the ports open by the
program httpd!
This User Gave Thanks to hergp For This Post:
10 More Discussions You Might Find Interesting
1. IP Networking
Hello
i have application that using ports , how can i check if the port im using is not captured by any applications? (1 Reply)
Discussion started by: umen
1 Replies
2. UNIX for Dummies Questions & Answers
i have configured Squid proxy server in Fedora 8 with two network interfaces.
HTTP, HTTPS, FTP are working fine but we are unable to download mails using mail clients from mail server with POP3(ssl) and SMTP(ssl).
so please someone help us how to enable pop and smtp in Squid. (1 Reply)
Discussion started by: praneel2k
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Please help me out, how to check whether a port currently being used or not.
is there any command which give the result?
Thanks
Rajesh (6 Replies)
Discussion started by: rajesh08
6 Replies
4. Shell Programming and Scripting
Hi,
I need to create a script which checks the availability of a particular service on a particular Port on HP-Unix. Is there any command in unix wherein we can check if any port is accepting the connections now.
Thanks,
Vihang. (5 Replies)
Discussion started by: vikings.svnit
5 Replies
5. Web Development
I have interesting problem.
https:/host/some/x.cgi
- this script has run twice when I call this url
But
http:/host/some/x.cgi
work fine, only once.
Output is text/plain.
If I change output format to the Content-type text/html,
then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies
6. Shell Programming and Scripting
hi everybody;
my code is cheking if a port is an actif or not with the cmd netstat -ln,I want first to enter the number of the port which I want to check it but I think that the value of $con in the second "if" is always "0" so the code give me always that the port is not used!!!
... (5 Replies)
Discussion started by: bassma
5 Replies
7. Shell Programming and Scripting
We have open port UDP port 31011, how to verify if port were working or traffic were receive. (2 Replies)
Discussion started by: avtalan
2 Replies
8. Linux
Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website!
please advise if I missed any concept / configs... Thank you!
httpd.conf
<VirtualHost *:80>
ServerName www.my-site.com
ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies
9. Shell Programming and Scripting
I have my firewall process running
# ps -ef | grep firewall
root 21169 1 0 08:50 ? 00:00:00 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
I wish to know what ip : port number it is using. Can you please tell me how can i find out ?
I tried the below command... (4 Replies)
Discussion started by: mohtashims
4 Replies
10. UNIX for Beginners Questions & Answers
hi
how to check ssl certificate expiry date using openssl command
try below code it is not working, any help
echo q | openssl s_client -connect akamai.com:443 | openssl x509 -noout -enddate
socket: Bad file descriptor
connect:errno=9
unable to load certificate... (0 Replies)
Discussion started by: raghur77
0 Replies
LEARN ABOUT ULTRIX
upscli_connect
UPSCLI_CONNECT(3) NUT Manual UPSCLI_CONNECT(3)
NAME
upscli_connect - Open a connection to a NUT upsd
SYNOPSIS
#include <upsclient.h>
int upscli_connect(UPSCONN_t *ups, const char *host, int port, int flags);
DESCRIPTION
The upscli_connect() function takes the pointer ups to a UPSCONN_t state structure and opens a TCP connection to the host on the given
port.
flags may be either UPSCLI_CONN_TRYSSL to try a SSL connection, or UPSCLI_CONN_REQSSL to require a SSL connection.
If SSL mode is required, this function will only return successfully if it is able to establish a SSL connection with the server. Possible
reasons for failure include no SSL support on the server, and if upsclient itself hasn't been compiled with SSL support.
You must call upscli_disconnect(3) when finished with a connection, or your program will slowly leak memory and file descriptors.
RETURN VALUE
The upscli_connect() function modifies the UPSCONN_t structure and returns 0 on success, or -1 if an error occurs.
SEE ALSO
upscli_disconnect(3), upscli_fd(3), upscli_splitaddr(3), upscli_splitname(3), upscli_ssl(3), upscli_strerror(3), upscli_upserror(3)
Network UPS Tools 05/22/2012 UPSCLI_CONNECT(3)