Unable to connect to target

Hello,
I get the following error dialog when I try to make a method that upload file using stream but every time I encountered this error message which I can’t fix. I need your help to resolve this issue. Thanks in advance.

Error message
**ERROR**: Unable to connect to target!
