Forum Discussion

sgsoapuser's avatar
sgsoapuser
Occasional Contributor
12 years ago

HttpHostConnectException in linux

Hi,

Running soapUi from windows is working fine. I want to automate this and want to run from linux command line.
I ftped the project file from windows to linux machine.

Trying to run testrunner.sh, I get below connection errors:

ERROR [WsdlSubmit] Exception in request: org.apache.http.conn.HttpHostConnectException: Connection to https://example.com refused
15:15:37,842 ERROR [SoapUI] An error occured [Connection to https://example.com refused], see error log for details

Appreciate if someone could help me in resolving this as soon as possible.

Thanks in advance
  • nmrao's avatar
    nmrao
    Champion Level 3
    Have you checked if the linux machine has network configuration and able to ping the server or resolving it by hostname?
  • sgsoapuser's avatar
    sgsoapuser
    Occasional Contributor
    Thanks for your inputs. I would check for network configurations.

    In addition to my previous query I wanted to check whether do I need to make any changes to project file after ftping to linux machine from windows?

    Thank you.
  • nmrao's avatar
    nmrao
    Champion Level 3
    I believe that project is an xml file and it should be ok.
  • sgsoapuser's avatar
    sgsoapuser
    Occasional Contributor
    Thank you.I was able to resolve this by setting JAVA_OPTS with proxy server and port in testrunner.sh.