:~# service x11-common status
● x11-common.service - LSB: set up the X server and ICE socket directoriessystemd[1]: Starting LSB: set up the X server and ICE socket directories...Jun 27 00:15:02 vps423325 x11-common[1002]: * Setting up X socket directories..
在两台本地机器之间,一切正常工作,我决定将服务器端放在VPS上。ConnectionRefusedError: [Winerror 10061] No connection could be made because the target machine actively refused itSERVER = "vps-xxxxxxxx.vps.ovh.net"
client = socket</e
我做了一个侦听端口80的节点应用程序,我的应用程序在本地主机上运行得很好,但是当我在我的VPS上运行它时,我得到了一个不同的日志和一个不同的结果( websockets就是不能工作)
正如您所看到的,在VPS中,在显示"info: transport end (socket end)“之后使用xhr而不是websocket。我没有在我的VPS上使用任何web服务器,我以root身份运行我的应用程序。