• No replies
1 Post

Pinned topic "Connection refused: connect " when i open a file to read from java

‏2011-06-02T10:13:06Z |
I took several days stuck in this problem. I'm trying to read a file from the AS400 through java but I can't.

The problem is that I can't open the file. When using the, 10, SequentialFile.COMMIT_LOCK_LEVEL_DEFAULT) gives me the connection refused error.

Obviously, before I use the class as400 to enter the ip, username and password of my system.

I have also tried with other parameters in the function: (as400.READ_ONLY, 10, as400.COMMIT_LOCK_LEVEL_DEFAULT) but I get the same error.

Can someone help me?