unable to use scripts in delphixpy-examples

  • 0
  • 1
  • Question
  • Updated 5 days ago
  • Answered




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.
Photo of Ilya

Ilya

  • 100 Points 100 badge 2x thumb

Posted 5 days ago

  • 0
  • 1
Photo of Neal Stack

Neal Stack, Official Rep

  • 2,512 Points 2k badge 2x thumb
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?
Photo of Ilya

Ilya

  • 100 Points 100 badge 2x thumb
Solved the problem by changing the config file. IP address and hostname were wrong. Thanks for the help.
(Edited)