Nextcloud can't use wabdav

Sabre\HTTP\ClientException: Failed to connect to 61.145.107.163 port 9800: Connection timed out

  1. /var/www/html/3rdparty/sabre/http/lib/Client.php - line 103: Sabre\HTTP\Client->doRequest(Object(Sabre\HTTP\Request))
  2. /var/www/html/3rdparty/sabre/dav/lib/DAV/Client.php - line 231: Sabre\HTTP\Client->send(Object(Sabre\HTTP\Request))
  3. /var/www/html/lib/private/Files/Storage/DAV.php - line 263: Sabre\DAV\Client->propFind(‘http //61.145.1…’, Array)
  4. /var/www/html/lib/private/Files/Storage/DAV.php - line 577: OC\Files\Storage\DAV->propfind(’’)
  5. /var/www/html/lib/private/Files/Storage/Common.php - line 449: OC\Files\Storage\DAV->stat(’’)
  6. /var/www/html/apps/files_external/lib/config.php - line 234: OC\Files\Storage\Common->test(false, true)
  7. /var/www/html/apps/files_external/lib/Controller/StoragesController.php - line 256: OC_Mount_Config getBackendStatus(’\OC\Files\Stora…’, Array, false, true)
  8. /var/www/html/apps/files_external/lib/Controller/StoragesController.php - line 305: OCA\Files_External\Controller\StoragesController->updateStorageStatus(Object(OCA\Files_External\Lib\StorageConfig), true)
  9. [internal function] OCA\Files_External\Controller\StoragesController->show(1, true)
  10. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 161: call_user_func_array(Array, Array)
  11. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 91: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files_External\Controller\GlobalStoragesController), ‘show’)
  12. /var/www/html/lib/private/AppFramework/App.php - line 115: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files_External\Controller\GlobalStoragesController), ‘show’)
  13. /var/www/html/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main(‘OCA\Files_Exter…’, ‘show’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
  14. [internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
  15. /var/www/html/lib/private/Route/Router.php - line 297: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
  16. /var/www/html/lib/base.php - line 999: OC\Route\Router->match(’/apps/files_ext…’)
  17. /var/www/html/index.php - line 42: OC handleRequest()
  18. {main}

Can you connect to that host from your server to this webdav resource from command line? Make sure there is no problem in the connection (firewall etc.) and your settings are correct.