I get (os error 10061) when I run my python script through Anaconda on local. I’ve checked that the firewall is disabled. I verified questdb 2.0.3 is installed. Here is my script:
import pandas as pd
from questdb.ingress import Sender, TimestampNanos
qp=pd.DataFrame({'last': [price], 'Symbol': ['NQ'], 'time':time.time()})
This is on ibkr api. The error says its on line app.run()
conf = f'http::addr=localhost:9000;'
with Sender.from_conf(conf) as sender:
sender.dataframe(qp, table_name='Nlastry', at=TimestampNanos.now())
QuestDB developer advocate here 🙂
Are QuestDB or Anaconda running on containers? Asking as ‘localhost’ might mean one thing for Anaconda and a different one for QuestDB if containers are involved. Also, can you access http://localhost:9000 and see the questdb web console?
6