if you just want to check that a third party app connects to ur server
just do a simple telnet and you will find that it connects

                                                Harshal Vaidya

-----Original Message-----
From: Ambar Roy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 8 March 2001 12:08
To: [EMAIL PROTECTED]
Subject: [linux-delhi] Re: [LIP] prgram writting to some port 


> i have tried with socket programming ,when simply implementing client and
> server the client is reading the string send by server at port XYZ,
> but at the same time when i want to use netscape as client side using
> localhost:portno it says that connection is refused by the server
>
> what may be the reason ?
That is because netscape expects the other end to be a http server. If u
wan't to get data in the localhost:portno format in netscape, then use the
http protocol on your server. The fastest way to do this wud be using any
web programming language like php3/cgi-perl/java servlet, etc!! And then run
your web server on the port that you wan't! with apache, this is normally
very simple. You just hav to define a new virtual host, if u hav apache
already running on that server!

Bye,
    /\ |\/| |3 /\ r


------------------------------------------------
An alpha version of a web based tool to manage
your subscription with this mailing list is at
http://lists.linux-india.org/cgi-bin/mj_wwwusr
This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

------------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-delhi

Reply via email to