Comment on Tutorial - NotifyUtil::java.net.ConnectException: Connection refused: connect By Ramlak



Comment Added by : Sandhya Rani Vellanki

Comment Added at : 2010-11-15 00:39:24

Comment on Tutorial : NotifyUtil::java.net.ConnectException: Connection refused: connect By Ramlak
I faced an exception "java.net.connectException: Connection refused", and the fix to my prob was:
Login using putty to the server IP with uid/pwd, go to root and hit ftp, at the ftp prompt, type the command "open" followed by <IP address> if this shows “connection refused” then it means we are not able to get connected to the server. Solution is at the OS level, one of the services vsftpd is not running because of the server which was abruptly shut down over the weekend . They restarted the service and now my app works fine.
Thanks,
Sandhya


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Answer for Comment 4 :

" n=n++

View Tutorial          By: NewB_of_java at 2012-02-16 16:52:05

2. Very good. very clear. thank you
View Tutorial          By: Andrei at 2012-12-16 04:29:36

3. tis s very useful and easy to capture all persons
View Tutorial          By: Divya at 2013-12-19 05:42:32

4. thnks a lot...
View Tutorial          By: iti at 2015-06-03 07:05:24

5. Sir if i wnna to take the input from user then it
View Tutorial          By: Vivek at 2011-05-14 05:56:30

6. Thank you, you save my day!!
View Tutorial          By: jano at 2011-05-26 17:20:47

7. Thanks for the code. The code runs fine without an
View Tutorial          By: aanube at 2012-08-22 10:12:54

8. This is the helpful Site for beginner....!!!!!!!!!
View Tutorial          By: Anup at 2013-07-26 13:40:49

9. realy it was a nice basic example...and better def
View Tutorial          By: amit kumar at 2011-03-14 08:11:31

10. hi...i have done a project based on spinners..the
View Tutorial          By: Nagini at 2015-04-11 05:01:43