JavaScript/websocket/socket.io:修订间差异
来自康健生活
创建页面,内容为“== 标题文字 == == error == * 请求网址: http://localhost:8080/socket.io/?EIO=4&transport=polling&t=NvYnNtb 404” |
|||
| 第2行: | 第2行: | ||
== error == | == error == | ||
* 请求网址: http://localhost:8080/socket.io/?EIO=4&transport=polling&t=NvYnNtb 404 | * 请求网址: http://localhost:8080/socket.io/?EIO=4&transport=polling&t=NvYnNtb 404 | ||
: 检查服务端的 <code>socket.io.js</code> 文件是否存在 | |||
: {{Shc_out|<syntaxhighlight lang="bash"> | |||
curl http://localhost:8080/socket.io/socket.io.js</syntaxhighlight>|<syntaxhighlight lang="bash"> | |||
<!DOCTYPE html> | |||
<html lang="en"> | |||
<head> | |||
<meta charset="utf-8"> | |||
<title>Error</title> | |||
</head> | |||
<body> | |||
<pre>Cannot GET /socket.io/socket.io.js</pre> | |||
</body> | |||
</html> | |||
</syntaxhighlight>|$|/home/kangkk}} | |||