Closed c4b4d4 closed 1 year ago
Per your janus logs, its being hosted on 10.0.2.15. Maybe you should try that in the browser instead. That said just opening into localhost/ in the browser should work too.
I’m also new with dockers, so, (afaik) do I have to do a special “link” so my host connect to that docker’s localhost? Isn’t the IP (192.168.99.1) of the virtualbox (which is where the docker is launched) the localhost? ‘Cause the localhost of my laptop is 127.0.0.1
(Already tried to put 192.168.99.1, in the browser and it does nothing :()
On Sun, Apr 26, 2020 at 1:03 AM zkBounty notifications@github.com wrote:
Per your janus logs, its being hosted on 10.0.2.15. Maybe you should try that in the browser instead. That said just opening into localhost/ in the browser should work too.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/atyenoria/janus-webrtc-gateway-docker/issues/56#issuecomment-619488832, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC3TD64ZM2KYC2CI3YOD7LROPFCRANCNFSM4MQUIA2Q .
-- Carlos Cabada
Same for me here, did you find any solution to this @kzka90 ?
Not yet @adrien-prototype :(
@kzka90 it worked for me calling it on the client side with 'ws://192.168.99.1/8188'
I did an ifconfig and took the en0 ip
Facing the same issue, new to docker as well, so probably something basic.
As per docker logs, the IP is 192.168.65.3
Using 192.168.65.3 as local IP...
[WARN] Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
TURN REST API backend: (disabled)
[WARN] Janus is deployed on a private address (192.168.65.3) but you didn't specify any STUN server! Expect trouble if this is supposed to work over the internet and not just in a LAN...
Crypto: BoringSSL
My docker config is
$ docker network ls
NETWORK ID NAME DRIVER SCOPE
2e88fa9bf9f9 bridge bridge local
0cc597e16ff1 hello-world_default bridge local
d450ecc8e15a host host local
c211c027b609 none null local
My ifconfig is
$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201<PERFORMNUD,DAD>
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
XHC20: flags=0<> mtu 0
XHC0: flags=0<> mtu 0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether f0:18:98:4e:97:34
inet6 fe80::1835:1032:d58a:b02%en0 prefixlen 64 secured scopeid 0x6
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
ether 02:18:98:4e:97:34
media: autoselect
status: inactive
awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484
ether 3a:f3:82:04:ee:d6
inet6 fe80::38f3:82ff:fe04:eed6%awdl0 prefixlen 64 scopeid 0x8
nd6 options=201<PERFORMNUD,DAD>
media: autoselect
status: active
en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=60<TSO4,TSO6>
ether 52:00:ed:69:b7:01
media: autoselect <full-duplex>
status: inactive
en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
options=60<TSO4,TSO6>
ether 52:00:ed:69:b7:00
media: autoselect <full-duplex>
status: inactive
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether 52:00:ed:69:b7:01
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x2
member: en1 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 9 priority 0 path cost 0
member: en2 flags=3<LEARNING,DISCOVER>
ifmaxaddr 0 port 10 priority 0 path cost 0
nd6 options=201<PERFORMNUD,DAD>
media: <unknown type>
status: inactive
utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000
inet6 fe80::9517:3977:fe0d:fb9d%utun0 prefixlen 64 scopeid 0xc
nd6 options=201<PERFORMNUD,DAD>
en4: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=4<VLAN_MTU>
ether 00:e0:4c:68:2f:c6
nd6 options=201<PERFORMNUD,DAD>
media: autoselect (none)
status: inactive
The issue I faced was on the mac, to connect from the mac to the docker container we need to do port forwarding. This awesome repo, has the port forwarding configuration in its Makefile. The only thing missing is the documentation.
On a mac, you need to run
make run-mac
Then go to http://localhost on your browser.
First of all, I'm running the docker in a Mac. And I've successfully ran it with these commands as suggested:
And the logs show:
Compiled on: Sat Apr 25 05:42:54 UTC 2020
Logger plugins folder: /usr/local/lib/janus/loggers [WARN] Couldn't access logger plugins folder...
Starting Meetecho Janus (WebRTC Server) v0.9.2
So I believe everything ran perfectly, am I not right?
The only problem is, I don't know what to do next. I'm trying to visit the website of the samples hosted in the docker, but I'm lost.
What exactly is your_host_ip.global?
My virtual docker machine IP is the following (Got this from ifconfig)
How would I connect to this "your_host_ip.global" address from my main laptop?