We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ab13f commit 05a816dCopy full SHA for 05a816d
1 file changed
iotdb-client/client-cpp/src/main/Session.cpp
@@ -1953,7 +1953,7 @@ void Session::handleQueryRedirection(TEndPoint endPoint) {
1953
void Session::handleRedirection(const std::string& deviceId, TEndPoint endPoint) {
1954
if (!enableRedirection_)
1955
return;
1956
- if (endPoint.ip == "127.0.0.1")
+ if (endPoint.ip == "0.0.0.0")
1957
1958
deviceIdToEndpoint[deviceId] = endPoint;
1959
@@ -1978,7 +1978,7 @@ void Session::handleRedirection(const std::shared_ptr<storage::IDeviceID>& devic
1978
TEndPoint endPoint) {
1979
1980
1981
1982
1983
tableModelDeviceIdToEndpoint[deviceId] = endPoint;
1984
0 commit comments