flutter-webrtc / flutter-webrtc-server

A simple WebRTC signaling server for flutter-webrtc.
MIT License
756 stars 304 forks source link

Issue in windows. Port 8086 can't be reached. #17

Closed lambadelta02 closed 3 years ago

lambadelta02 commented 5 years ago
> flutter-webrtc-web@1.0.0 start C:\html\webrtc
> npm-run-all --parallel run-server run-webpack-dev-server

> flutter-webrtc-web@1.0.0 run-server C:\html\webrtc
> node server/index.js

> flutter-webrtc-web@1.0.0 run-webpack-dev-server C:\html\webrtc
> webpack-dev-server --mode development --https --cert ./certs/cert.pem --key ./certs/key.pem --hot --inline --progress --colors --watch --compress --content-base ./dist  --port 8086 --host 0.0.0.0 --open

Start WS Server: bind => ws://0.0.0.0:4442
Start WSS Server: bind => wss://0.0.0.0:4443
 10% building 1/1 modules 0 activei 「wds」: Project is running at https://0.0.0.0:8086/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from C:\html\webrtc\dist
i 「wdm」: Hash: 80195648e4df421d78f4
Version: webpack 4.35.3
Time: 4509ms
Built at: 07/10/2019 4:00:03 PM
                      Asset       Size  Chunks             Chunk Names
               ./index.html  234 bytes          [emitted]
    main.80195648.bundle.js   2.01 MiB    main  [emitted]  main
main.80195648.bundle.js.map   2.17 MiB    main  [emitted]  main
Entrypoint main = main.80195648.bundle.js main.80195648.bundle.js.map
[0] multi (webpack)-dev-server/client?https://0.0.0.0:8086 (webpack)/hot/dev-server.js ./src/index.js 52 bytes {main} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {main} [built]
[./node_modules/react/index.js] 190 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/webpack-dev-server/client/index.js?https://0.0.0.0:8086] (webpack)-dev-server/client?https://0.0.0.0:8086 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.77 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.63 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {main} [built]
[./src/index.js] 166 bytes {main} [built]
    + 331 hidden modules
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = ./index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 370 bytes {0} [built]
    [./node_modules/lodash/lodash.js] 528 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
i 「wdm」: Compiled successfully.

Tested on different machine on windows got same results. But on linux it works fine.

akaco commented 4 years ago

I Have same Issue , is this just running on Linux ???

neenabastin123 commented 4 years ago

I have the same issue, not working on windows

amitsh4022 commented 4 years ago

I/flutter (13858): Closed by server [500 => SocketException: OS Error: Connection refused, errno = 111, address = 0.0.0.0, port = 33374]!

I am facing this problem so please tell me exact solutions

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.