Giter VIP home page Giter VIP logo

Comments (12)

simonsmh avatar simonsmh commented on May 21, 2024

此外Debian version没有跟进到1.3.2

from ttyd.

tsl0922 avatar tsl0922 commented on May 21, 2024

这个提示是编译时就生成了的,如果 ttyd 编译时使用的 libwebsockets 没有开启 UNIX domain socket 支持,即使运行时的 libwebsockets 库是支持的也不行。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

debiancn提供了重新打包的的libwebsockets,编译时可以换用。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

如果我想在使用Unix socket时不想监听端口,我该怎么做?

from ttyd.

tsl0922 avatar tsl0922 commented on May 21, 2024

目前无法禁止,这应该算是 bug,我本不打算让两者共存。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

from ttyd.

tsl0922 avatar tsl0922 commented on May 21, 2024

@simonsmh 你测试过吗?我刚在 linux 下测试了下,貌似没这个问题,只要开启了 unix sock 就不会再监听 tcp 端口了。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

socks路径到底是-i还是-p
-i确实会监听默认端口
刚刚测试了一下-p倒是正常的

from ttyd.

tsl0922 avatar tsl0922 commented on May 21, 2024

-i 呀,-p 只能接收整数。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

哦哦哦 是我sock路径后面多加了个s

from ttyd.

tsl0922 avatar tsl0922 commented on May 21, 2024

unix socket 扩展名只能用 .sock 或者 .socket,目前是这么识别的。

from ttyd.

simonsmh avatar simonsmh commented on May 21, 2024

好的,现在知道了
其实还是希望有更多的错误提示之类的(

from ttyd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.