1

trying to upload file using apache file upload, but getting this error:

java.net.ConnectException: Connection refused: connect  

it was working yesterday, but today it is not working

6
  • 3
    One of the possibility is server can be down Commented Sep 19, 2013 at 9:57
  • 1
    Please elaborate, what kind of netwrok environment you are using, FTP, RMI, Web server etc?\, and add more detail arond what exactly you are doing? Commented Sep 19, 2013 at 9:57
  • @upog this server accept app port, server may be still running, but the port was change. Commented Sep 19, 2013 at 9:57
  • try to check if the server is open or not.you can check in windows command prompt by typeing netstat -a Commented Sep 19, 2013 at 9:57
  • 4
    In any case this is not a Java-related problem. Commented Sep 19, 2013 at 10:03

2 Answers 2

1

Either the firewall configuration (by which I mean port forwarding, not access rules) has changed or the server process isn't running.

Sign up to request clarification or add additional context in comments.

Comments

0

If this is a locally hosted server. make sure the correct port is forwarded for the correct IPV4, they change often and without much reason.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.