You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the method above will get the wrong ip address. For example I use the eth0 ip address in the url, and the wsdl will use the 127.0.0.1 that the soap client can not connect to .
I simply change to this:
address=self.request.headers['Host'].split(':')[0]
and it works.
The text was updated successfully, but these errors were encountered:
address = getattr(self, 'targetns_address',tornado.httpserver.socket.gethostbyname(tornado.httpserver.socket.gethostname()))
the method above will get the wrong ip address. For example I use the eth0 ip address in the url, and the wsdl will use the 127.0.0.1 that the soap client can not connect to .
I simply change to this:
address=self.request.headers['Host'].split(':')[0]
and it works.
The text was updated successfully, but these errors were encountered: