1
첫 번째로, 나쁜 영어로 죄송합니다.딥 스트림이 작동하지 않습니다.
나는 지난 이틀간의 딥 스트림을 실행하려고 노력하고있다. 서버가 시작되지만 브라우저에서 연결할 수 없습니다.
INFO | logger ready
INFO | deepstream version: 1.1.0
INFO | messageConnector ready
INFO | storage ready
INFO | cache ready
INFO | authenticationHandler ready: none
INFO | permissionHandler ready: none
INFO | Using uws websocket server
CLUSTER_JOIN | it9p2a8m-z77t85n9bk04
INFO | Listening for tcp connections on 127.0.0.1:6021
INFO | Listening for browser connections on 127.0.0.1:6020
INFO | Deepstream started
내 index.html을은 다음과 같습니다
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.rawgit.com/deepstreamIO/deepstream.io-client-js/master/dist/deepstream.min.js"></script>
</head>
<body>
<input type="text" />
<script type="text/javascript">
var deepstream = require('deepstream.io-client-js');
const client = deepstream('127.0.0.1:6020').login();
})
</script>
</body>
</html>
가 127.0.0.1:6021 통해 서버에 브라우저와 연결할 수 없습니다. 브라우저 검색 중 ...
간단한 예가 있습니까? 내가 실행할 수있는 deepstream에 대한 유일한 예는 ds-demo-pong입니다. 내 나쁜 영어 :-(에 대한
당신의 도움을 주셔서 감사하고 죄송
먼저 응답 해 주셔서 감사합니다. 변경되었지만 지금은 'INCOMING_CONNECTION | 127.0.0.1:32978에서 tcp INCOMING_CONNECTION | 127.0.0.1:32982에서 tcp를 통해 CLIENT_DISCONNECTED | null CLIENT_DISCONNECTED | null CONNECTION_AUTHENTICATION_TIMEOUT | 연결이 예상 시간 내에 성공적으로 인증되지 않았습니다. ' "const client = deepstream ('127.0.0.1:6020 ') .login();" FeathersJS, Meteor, Angular 내가 테스트하고 실행할 수있는 모든 것이 있지만, 가장 관심이가는 것은 아무 것도하지 않습니다. – mekroth
6021 또는 6020을 통해 실행 중입니까? 6021은 브라우저가 지원하지 않는 순수한 TCP입니다. – yasserf