-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Issues with Client Development on Windows and Remote Database Connection #1647
Comments
BTW, Infinity python SDK also supports to open a local directory use following code:
We migrated all infinity server functions into python SDK. That is why python SDK is only available for Linux. |
Hello. Actually, for the database server I deployed using Docker, I can successfully access it using "localhost" on the host machine, but not using the real IP. There is no firewall and no network issue. Do I need to modify some config file to enable remote access? But I don't know where the config file is located and how to load it. |
I just tried the latest docker image of as above. Use example/simple_example.py updated with IP address as above code. And it works. You'd better to check if there are network issue, such as port conflict, incorrect ip address, etc. Use netstat or lsof to check if Infinity is listening on the port. Infinity installed with deb/rpm can load config file, but docker running infinity can't load config file yet, this problem will be solved in the next Dev release. |
嗯嗯,谢谢大佬 |
Hello, since the HTTP server's listening IP is set to infinity/src/network/http_server.cpp Line 3336 in e62d9db
By the way, in version 0.3.0-dev7, the provided example of the search API seems incorrect: #874 (comment). Could you provide more examples of the HTTP API, as some of them differ from the SDK API? infinity/src/network/http/http_search.cpp Lines 137 to 140 in e62d9db
|
Yes, it shall be fixed by #1759
Yes, we are preparing to release v0.3.0. And the document will be updated accordingly. |
Describe your problem
Hello, I am currently using both the Python API and the HTTP API to connect to a standalone database service. However, it seems that the default connection is only allowed through "localhost." How can I customize the configuration file? I couldn't find any relevant documentation regarding this parameter and its path. Also, is it true that versions of the SDK after 0.2.0.dev7 are only available for Linux and not Windows? How can I develop code on Windows to connect to a 0.3.0.dev4 database? Thank you.
The text was updated successfully, but these errors were encountered: