Error connecting pyodbc to external server

0

Hi, I'm connecting my application to an external database server sql server 2008 R2 and I can not connect, it gives me the following error

  

pyodbc.OperationalError: ('HYT00', '[HYT00] [unixODBC] [Microsoft] [ODBC Driver 13 for SQL Server] Login timeout expired

I searched the network and I tried everything I have the application in a virtual machine linux 16.4 in proxmox and the database server one I have in w7 and another in w10, I have pinged from the virtual I check with nmap the ports and everything ok but it does not connect, which could be.

erorr de conexcción

  

File "/usr/local/lib/python3.5/dist-packages/sql_server/pyodbc/base.py", line 314, in get_new_connection       timeout = timeout)   django.db.utils.OperationalError: ('HYT00', '[HYT00] [unixODBC] [Microsoft] [ODBC Driver 13 for SQL Server] Login timeout expired (0) (SQLDriverConnect)')

what nmap debugs me

  

root @ accountsp: ~ # nmap -p U: 1434 -sU -sV 192.168.0.11

     

Starting Nmap 7.01 ( link ) at 2018-11-10 16:44 UTC   Nmap scan report for 192.168.0.11   Host is up (0.00027s latency).   PORT STATE SERVICE VERSION   1434 / udp closed ms-sql-m   MAC Address: 1C: 1B: 0D: F6: 6B: D4 (Unknown)

     

Service detection performed. Please report any incorrect results at link .   Nmap done: 1 IP address (1 host up) scanned in 17.41 seconds

Well I hope someone has knowledge about this error and gives me a hand

    
asked by Antonio 10.11.2018 в 17:36
source

0 answers