I use Dreamweaver 2019 without issues. That error usually means there is an issue with the testing server URL attribute in your testing server settings.
Are you using a local database or connecting to your remote database. It could be that your local testing server isn't running or the url is wrong.