API/Python/Open-Source Solutions

Expand all | Collapse all

unable to use scripts in delphixpy-examples

Jump to Best Answer
  • 1.  unable to use scripts in delphixpy-examples

    Posted 07-12-2018 06:39:00 AM




    I was trying to do snapshot of database (https://www.delphix.com/blog/data-virtualization/getting-started-delphix-python-module). I made all the steps shown in tutorial but at the stage of executing the file dx_snapshot_db.py I got the following error: [Errno 111] Connection refused.
    Chmod was enabled, and the config file looks okay.
    The same problem when running other files, I do not know how to solve this problem.




    #dxToolkit


  • 2.  RE: unable to use scripts in delphixpy-examples
    Best Answer

    Posted 07-12-2018 11:18:00 AM
    Hello,

    "Connection refused" generally means that the port number and/or the IP address is incorrect. Is your Delphix Engine really named "landsharkengine"? Is http port 80 enabled on your engine or do you normally connect via https on port 443?


  • 3.  RE: unable to use scripts in delphixpy-examples
    Best Answer

    Posted 07-12-2018 12:57:00 PM
    Solved the problem by changing the config file. IP address and hostname were wrong. Thanks for the help.