tiddly-gittly / TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)
https://tidgi.fun
Mozilla Public License 2.0
1.74k stars 111 forks source link

bug: localhost:5214 can not be visited #474

Closed dengdan closed 1 year ago

dengdan commented 1 year ago

Environment 环境信息

Version v0.8.1-prerelease6

Electron Version: 25.2.0 Node Version: 18.15.0 Chromium Version: 114.0.5735.134

Description 描述

When using the plugin tw-mobile-sync, the wiki on desktop have to be accessed through its ip plus port, i.e., localhost:5214, or e.g., http://192.168.131.98:5214/ . But it always reports 'Failed to connect to /192.168.131.98:5214' on android side. What's more, I could visit my wiki on web browser months ago, using earlier versions of Tidgi, but now ERR_SOCKS_CONNECTION_FAILED is reported.

Steps to Reproduce 复现方式

The wiki does can not be visited from ip:port on my mac, and my macOS version is 13.0.1 (22A400) , with Intel Core i5 CPU. If more info is needed, please tell me. Thanks a lot.

Additional Context 额外上下文

No response

linonetwo commented 1 year ago

https://tidgi.fun/#%E5%A4%AA%E8%AE%B0%E5%8A%9F%E8%83%BD%E6%89%8B%E5%86%8C%2F%E5%BC%80%E5%90%AF%20HTTP%20API (zh)

https://tidgi.fun/#TidGi%20Feature%20Handbook%2FEnabling%20HTTP%20API (en)

See this, does it work for you?

dengdan commented 1 year ago

https://tidgi.fun/#TidGi%20Feature%20Handbook%2FEnabling%20HTTP%20API

It does work. Thanks very much!