I created a docker app to run a react application to run on localhost port 3000. Suddenly I am seeing that it is not running; what I have seen in Netstat is that it is time-wait.
This is the output I got after running netstat -plant:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 172.18.0.1:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 172.16.100.1:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 192.168.233.1:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 172.17.0.1:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 192.168.31.46:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 127.0.0.1:5025 0.0.0.0:* LISTEN 32384/qbittorrent
tcp 0 0 0.0.0.0:37925 0.0.0.0:* LISTEN 1924/rpc.statd
tcp 0 0 0.0.0.0:902 0.0.0.0:* LISTEN 8526/vmware-authdla
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 3302/smbd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1909/rpcbind
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 36678/docker-proxy
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2758/cupsd
tcp 0 0 0.0.0.0:3000 0.0.0.0:* LISTEN 39955/docker-proxy
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 3302/smbd
tcp 0 0 0.0.0.0:7070 0.0.0.0:* LISTEN 2333/anydesk
tcp 0 0 192.168.31.46:59416 151.101.193.69:443 ESTABLISHED 41671/opera --type=
tcp 78 0 192.168.31.46:43086 34.215.76.123:443 CLOSE_WAIT 33791/chrome --type
tcp 0 0 192.168.31.46:37940 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:40770 142.250.195.66:443 ESTABLISHED 33791/chrome --type
tcp 0 0 127.0.0.1:55552 127.0.0.1:8080 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:38084 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:48400 142.250.196.164:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:40690 52.111.252.2:443 ESTABLISHED 41671/opera --type=
tcp 0 1 172.18.0.1:48992 172.18.0.2:3000 SYN_SENT 39955/docker-proxy
tcp 0 0 192.168.31.46:44748 52.111.252.0:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:37930 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 127.0.0.1:3000 127.0.0.1:47782 ESTABLISHED 39955/docker-proxy
tcp 0 0 127.0.0.1:47782 127.0.0.1:3000 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:48900 110.76.130.81:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:60481 52.163.231.110:443 ESTABLISHED 32695/skypeforlinux
tcp 1 0 192.168.31.46:50192 107.167.110.223:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:45422 20.185.212.106:443 ESTABLISHED 32684/skypeforlinux
tcp 0 0 192.168.31.46:39872 142.251.10.188:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:45756 142.250.182.38:443 ESTABLISHED 33791/chrome --type
tcp 25 0 192.168.31.46:60728 103.83.123.88:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:60486 13.33.28.118:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:55874 216.58.196.162:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:36654 104.18.99.194:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:49272 157.240.15.1:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:60730 103.83.123.88:443 CLOSE_WAIT 41671/opera --type=
tcp 1 0 192.168.31.46:45328 104.18.11.39:80 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:37192 110.76.130.136:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:59506 13.107.6.171:443 ESTABLISHED 41671/opera --type=
tcp 0 0 127.0.0.1:3000 127.0.0.1:47772 ESTABLISHED 39955/docker-proxy
tcp 0 0 192.168.31.46:52622 13.76.217.211:443 ESTABLISHED 32684/skypeforlinux
tcp 0 0 192.168.31.46:59386 13.107.6.171:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:33478 103.229.10.173:443 ESTABLISHED 33791/chrome --type
tcp 0 0 127.0.0.1:47772 127.0.0.1:3000 ESTABLISHED 33791/chrome --type
tcp 0 1 172.18.0.1:48984 172.18.0.2:3000 SYN_SENT 39955/docker-proxy
tcp 0 0 127.0.0.1:47770 127.0.0.1:3000 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:38176 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:55340 199.232.253.140:443 ESTABLISHED 33791/chrome --type
tcp 32 0 192.168.31.46:52344 18.205.51.212:443 CLOSE_WAIT 33791/chrome --type
tcp 0 0 192.168.31.46:40662 52.111.252.2:443 ESTABLISHED 41671/opera --type=
tcp 674 0 127.0.0.1:3000 127.0.0.1:47770 ESTABLISHED 39955/docker-proxy
tcp 0 0 127.0.0.1:8080 127.0.0.1:55552 ESTABLISHED 36678/docker-proxy
tcp 0 0 192.168.31.46:51660 151.101.129.69:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:45420 20.185.212.106:443 ESTABLISHED 32684/skypeforlinux
tcp 0 0 192.168.31.46:60732 103.83.123.88:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 172.17.0.1:50214 172.17.0.3:80 ESTABLISHED 36678/docker-proxy
tcp 0 0 192.168.31.46:37482 107.167.110.216:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:47592 13.227.214.108:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:46436 108.174.11.37:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:44592 142.250.182.130:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:52876 74.125.68.188:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:55978 151.101.129.140:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:42314 142.250.76.72:443 ESTABLISHED 33791/chrome --type
tcp 25 0 192.168.31.46:50150 107.167.110.223:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:55478 75.2.53.94:443 ESTABLISHED 41671/opera --type=
tcp 25 0 192.168.31.46:37490 107.167.110.216:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:46432 108.174.11.37:443 ESTABLISHED 33791/chrome --type
tcp 25 0 192.168.31.46:52600 185.26.182.118:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:60420 192.229.232.200:443 ESTABLISHED 32684/skypeforlinux
tcp 0 0 192.168.31.46:34998 140.82.112.25:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:50030 52.109.124.33:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:48532 13.107.21.200:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:46420 108.174.11.37:443 ESTABLISHED 33791/chrome --type
tcp 25 0 192.168.31.46:60734 103.83.123.88:443 CLOSE_WAIT 41671/opera --type=
tcp 0 1 172.18.0.1:48982 172.18.0.2:3000 SYN_SENT 39955/docker-proxy
tcp 0 0 192.168.31.46:33593 46.4.60.45:80 ESTABLISHED 2333/anydesk
tcp 0 0 192.168.31.46:33932 142.250.193.163:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:59020 198.252.206.25:443 ESTABLISHED 41671/opera --type=
tcp 25 0 192.168.31.46:41286 107.167.110.211:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:42886 151.101.36.193:443 ESTABLISHED 41671/opera --type=
tcp 1 0 192.168.31.46:37442 13.67.9.5:443 CLOSE_WAIT 40378/code --type=u
tcp 0 0 192.168.31.46:38106 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:58954 198.252.206.25:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:53582 151.101.1.2:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:39822 52.111.240.2:443 ESTABLISHED 41671/opera --type=
tcp 1 0 192.168.31.46:52360 18.205.51.212:443 CLOSE_WAIT 33791/chrome --type
tcp 25 0 192.168.31.46:34720 185.26.182.123:443 CLOSE_WAIT 41671/opera --type=
tcp 0 0 192.168.31.46:50378 151.101.1.26:443 ESTABLISHED 33791/chrome --type
tcp 0 0 192.168.31.46:38088 157.240.15.17:443 ESTABLISHED 41671/opera --type=
tcp 0 0 192.168.31.46:50008 52.109.124.33:443 ESTABLISHED 41671/opera --type=
tcp 0 1 172.17.0.1:50114 172.17.0.3:80 LAST_ACK -
tcp6 0 0 :::49631 :::* LISTEN 1924/rpc.statd
tcp6 0 0 fe80::109a:16ff:fe:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::88ab:42ff:fe:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::42:5ff:fe96::5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::f76b:88d5:d4:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::9472:48ff:fe:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::250:56ff:fec:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::250:56ff:fec:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 fe80::42:46ff:fe1a:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 ::1:5025 :::* LISTEN 32384/qbittorrent
tcp6 0 0 :::902 :::* LISTEN 8526/vmware-authdla
tcp6 0 0 :::6566 :::* LISTEN 2759/saned
tcp6 0 0 :::5000 :::* LISTEN 2453/docker-registr
tcp6 0 0 :::139 :::* LISTEN 3302/smbd
tcp6 0 0 :::111 :::* LISTEN 1909/rpcbind
tcp6 0 0 ::1:631 :::* LISTEN 2758/cupsd
tcp6 0 0 :::445 :::* LISTEN 3302/smbd
tcp6 1 0 ::1:58816 ::1:631 CLOSE_WAIT 2752/cups-browsed
tcp6 1 0 ::1:58814 ::1:631 CLOSE_WAIT 2752/cups-browsed
It can be seen that the docker proxy connection has been established on port 3000. But the browser cannot access it. What can be the reasons behind this issue?
Related
I have a problem with a video from remote sdp not showing on Firefox on version >= 90.0 (does work on any other browser like Chrome, Opera, Edge). It works fine on version >=89.0.2 and i have no idea what causing this issue
Firefox version 89.0.2
Local sdp:
v=0
o=mozilla...THIS_IS_SDPARTA-89.0.2 742372061482680230 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 AC:FD:FB:9D:BF:E7:1B:74:AC:A8:59:6B:F9:FE:B4:D0:15:EB:9C:9D:54:0A:3C:F0:A3:4B:39:32:88:92:AA:C9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=sendrecv
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:acc210243a74aef9a612fb944269e3bd
a=ice-ufrag:ac64f811
a=mid:0
a=msid:{a4442659-b580-45d1-926b-855a5abb2ce5} {55d9c638-6580-41f7-a198-c4e4da48c0a9}
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:1370367419 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=sendrecv
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:acc210243a74aef9a612fb944269e3bd
a=ice-ufrag:ac64f811
a=mid:1
a=msid:{a4442659-b580-45d1-926b-855a5abb2ce5} {b1684ca8-1a76-489a-ac8f-505d8db4a91a}
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:945317264 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
a=ssrc:662102401 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
a=ssrc-group:FID 945317264 662102401
O 1 671 457 224 786 (+18 077 ms)
v=0
o=mozilla...THIS_IS_SDPARTA-89.0.2 742372061482680230 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 AC:FD:FB:9D:BF:E7:1B:74:AC:A8:59:6B:F9:FE:B4:D0:15:EB:9C:9D:54:0A:3C:F0:A3:4B:39:32:88:92:AA:C9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 57307 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 172.29.160.1
a=candidate:0 1 UDP 2122121471 10.100.1.109 57305 typ host
a=candidate:1 1 UDP 2122187007 192.168.1.22 57306 typ host
a=candidate:2 1 UDP 2122252543 172.29.160.1 57307 typ host
a=candidate:3 1 TCP 2105393407 10.100.1.109 9 typ host tcptype active
a=candidate:4 1 TCP 2105458943 192.168.1.22 9 typ host tcptype active
a=candidate:5 1 TCP 2105524479 172.29.160.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122121470 10.100.1.109 57308 typ host
a=candidate:1 2 UDP 2122187006 192.168.1.22 57309 typ host
a=candidate:2 2 UDP 2122252542 172.29.160.1 57310 typ host
a=candidate:3 2 TCP 2105393406 10.100.1.109 9 typ host tcptype active
a=candidate:4 2 TCP 2105458942 192.168.1.22 9 typ host tcptype active
a=candidate:5 2 TCP 2105524478 172.29.160.1 9 typ host tcptype active
a=sendrecv
a=end-of-candidates
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:acc210243a74aef9a612fb944269e3bd
a=ice-ufrag:ac64f811
a=mid:0
a=msid:{a4442659-b580-45d1-926b-855a5abb2ce5} {55d9c638-6580-41f7-a198-c4e4da48c0a9}
a=rtcp:57310 IN IP4 172.29.160.1
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=setup:actpass
a=ssrc:1370367419 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
m=video 57313 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 172.29.160.1
a=candidate:0 1 UDP 2122121471 10.100.1.109 57311 typ host
a=candidate:1 1 UDP 2122187007 192.168.1.22 57312 typ host
a=candidate:2 1 UDP 2122252543 172.29.160.1 57313 typ host
a=candidate:3 1 TCP 2105393407 10.100.1.109 9 typ host tcptype active
a=candidate:4 1 TCP 2105458943 192.168.1.22 9 typ host tcptype active
a=candidate:5 1 TCP 2105524479 172.29.160.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122121470 10.100.1.109 57314 typ host
a=candidate:1 2 UDP 2122187006 192.168.1.22 57315 typ host
a=candidate:2 2 UDP 2122252542 172.29.160.1 57316 typ host
a=candidate:3 2 TCP 2105393406 10.100.1.109 9 typ host tcptype active
a=candidate:4 2 TCP 2105458942 192.168.1.22 9 typ host tcptype active
a=candidate:5 2 TCP 2105524478 172.29.160.1 9 typ host tcptype active
a=sendrecv
a=end-of-candidates
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:acc210243a74aef9a612fb944269e3bd
a=ice-ufrag:ac64f811
a=mid:1
a=msid:{a4442659-b580-45d1-926b-855a5abb2ce5} {b1684ca8-1a76-489a-ac8f-505d8db4a91a}
a=rtcp:57316 IN IP4 172.29.160.1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:945317264 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
a=ssrc:662102401 cname:{858121e4-b01a-410c-bc0f-2c7a46736d78}
a=ssrc-group:FID 945317264 662102401
Remote sdp:
v=0
o=- 123 1 IN IP4 127.0.0.1
s=-
t=0 0
a=fingerprint:sha-256 93:70:63:FC:98:35:64:50:AB:07:B7:56:72:82:B8:6A:0E:58:D7:50:01:C0:D7:4A:01:86:C2:28:B1:AF:0C:E9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic: WMS *
m=audio 1 RTP/SAVPF 8
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7070 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7070 typ host generation 0
a=inactive
a=ice-ufrag:wTURmjFPYaT2QrhY
a=ice-pwd:ALmcOQbLq5WnGMJ0QHZEBv1C
a=mid:0
a=msid:6bedb9d9-4a34-4fc5-a4e2-0228b1175ff3 21e020d5-0d34-404c-8d0f-c2176654ec8f
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=setup:passive
a=bundle-only
a=ssrc:2119652489 cname:baf88792-8306-49a1-9a52-bdeb340e7830
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7071 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7071 typ host generation 0
a=inactive
a=ice-ufrag:wTURmjFPYaT2QrhY
a=ice-pwd:ALmcOQbLq5WnGMJ0QHZEBv1C
a=mid:1
a=msid:6bedb9d9-4a34-4fc5-a4e2-0228b1175ff3 31f082d9-7b73-42cb-9ed1-09961329abd0
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=setup:passive
a=bundle-only
a=ssrc:4121478096 cname:baf88792-8306-49a1-9a52-bdeb340e7830
O 1 671 457 224 796 (+18 087 ms)
v=0
o=- 123 1 IN IP4 127.0.0.1
s=-
t=0 0
a=fingerprint:sha-256 93:70:63:FC:98:35:64:50:AB:07:B7:56:72:82:B8:6A:0E:58:D7:50:01:C0:D7:4A:01:86:C2:28:B1:AF:0C:E9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic: WMS *
m=audio 1 RTP/SAVPF 8
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7070 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7070 typ host generation 0
a=sendrecv
a=ice-ufrag:wTURmjFPYaT2QrhY
a=ice-pwd:ALmcOQbLq5WnGMJ0QHZEBv1C
a=mid:0
a=msid:6d6a5d67-fc98-487a-ae11-feadf0a83550_2 694408ad-38a9-4370-9bf7-a6ddd358740e
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=setup:passive
a=bundle-only
a=ssrc:1888215093 cname:xpWB66DXxxbEXrg9
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7071 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7071 typ host generation 0
a=sendrecv
a=ice-ufrag:wTURmjFPYaT2QrhY
a=ice-pwd:ALmcOQbLq5WnGMJ0QHZEBv1C
a=mid:1
a=msid:6d6a5d67-fc98-487a-ae11-feadf0a83550_2 54387bb6-ba0c-44ba-9811-f7d633371968
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=setup:passive
a=bundle-only
a=ssrc:1079489670 cname:G9MLJqqUtxfIQKyH
RTP Stats:
Firefox version >= 90.0
Local sdp:
v=0
o=mozilla...THIS_IS_SDPARTA-90.0 8353154283338443297 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 C1:21:34:75:76:EE:AA:32:AD:D9:BB:C1:DD:7B:BD:82:1E:E3:85:8A:D1:A4:73:1E:35:76:40:16:54:D6:EB:DB
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 0.0.0.0
a=sendrecv
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:8118e393f3952040e0060e800c17dbc2
a=ice-ufrag:b515cfad
a=mid:0
a=msid:{d4ef79cc-6ab6-4464-b581-ece2c3fbf1e0} {94e2d2bc-2124-4c93-87e2-ea9bd0e10945}
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000/1
a=setup:actpass
a=ssrc:2400082512 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
m=video 9 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 0.0.0.0
a=sendrecv
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:8118e393f3952040e0060e800c17dbc2
a=ice-ufrag:b515cfad
a=mid:1
a=msid:{d4ef79cc-6ab6-4464-b581-ece2c3fbf1e0} {ee4a3916-55a7-4992-8134-c81ac8cea572}
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:4074242173 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
a=ssrc:3652788950 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
a=ssrc-group:FID 4074242173 3652788950
O 1 671 457 637 509 (+15 993 ms)
v=0
o=mozilla...THIS_IS_SDPARTA-90.0 8353154283338443297 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 C1:21:34:75:76:EE:AA:32:AD:D9:BB:C1:DD:7B:BD:82:1E:E3:85:8A:D1:A4:73:1E:35:76:40:16:54:D6:EB:DB
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 50163 UDP/TLS/RTP/SAVPF 109 9 0 8 101
c=IN IP4 172.29.160.1
a=candidate:0 1 UDP 2122121471 10.100.1.109 50161 typ host
a=candidate:1 1 UDP 2122187007 192.168.1.22 50162 typ host
a=candidate:2 1 UDP 2122252543 172.29.160.1 50163 typ host
a=candidate:3 1 TCP 2105393407 10.100.1.109 9 typ host tcptype active
a=candidate:4 1 TCP 2105458943 192.168.1.22 9 typ host tcptype active
a=candidate:5 1 TCP 2105524479 172.29.160.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122121470 10.100.1.109 50164 typ host
a=candidate:1 2 UDP 2122187006 192.168.1.22 50165 typ host
a=candidate:2 2 UDP 2122252542 172.29.160.1 50166 typ host
a=candidate:3 2 TCP 2105393406 10.100.1.109 9 typ host tcptype active
a=candidate:4 2 TCP 2105458942 192.168.1.22 9 typ host tcptype active
a=candidate:5 2 TCP 2105524478 172.29.160.1 9 typ host tcptype active
a=sendrecv
a=end-of-candidates
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=extmap:2/recvonly urn:ietf:params:rtp-hdrext:csrc-audio-level
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=fmtp:109 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=fmtp:101 0-15
a=ice-pwd:8118e393f3952040e0060e800c17dbc2
a=ice-ufrag:b515cfad
a=mid:0
a=msid:{d4ef79cc-6ab6-4464-b581-ece2c3fbf1e0} {94e2d2bc-2124-4c93-87e2-ea9bd0e10945}
a=rtcp:50166 IN IP4 172.29.160.1
a=rtcp-mux
a=rtpmap:109 opus/48000/2
a=rtpmap:9 G722/8000/1
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=setup:actpass
a=ssrc:2400082512 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
m=video 50169 UDP/TLS/RTP/SAVPF 120 124 121 125 126 127 97 98
c=IN IP4 172.29.160.1
a=candidate:0 1 UDP 2122121471 10.100.1.109 50167 typ host
a=candidate:1 1 UDP 2122187007 192.168.1.22 50168 typ host
a=candidate:2 1 UDP 2122252543 172.29.160.1 50169 typ host
a=candidate:3 1 TCP 2105393407 10.100.1.109 9 typ host tcptype active
a=candidate:4 1 TCP 2105458943 192.168.1.22 9 typ host tcptype active
a=candidate:5 1 TCP 2105524479 172.29.160.1 9 typ host tcptype active
a=candidate:0 2 UDP 2122121470 10.100.1.109 50170 typ host
a=candidate:1 2 UDP 2122187006 192.168.1.22 50171 typ host
a=candidate:2 2 UDP 2122252542 172.29.160.1 50172 typ host
a=candidate:3 2 TCP 2105393406 10.100.1.109 9 typ host tcptype active
a=candidate:4 2 TCP 2105458942 192.168.1.22 9 typ host tcptype active
a=candidate:5 2 TCP 2105524478 172.29.160.1 9 typ host tcptype active
a=sendrecv
a=end-of-candidates
a=extmap:3 urn:ietf:params:rtp-hdrext:sdes:mid
a=extmap:4 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=extmap:5 urn:ietf:params:rtp-hdrext:toffset
a=extmap:6/recvonly http://www.webrtc.org/experiments/rtp-hdrext/playout-delay
a=extmap:7 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=fmtp:126 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=fmtp:97 profile-level-id=42e01f;level-asymmetry-allowed=1
a=fmtp:120 max-fs=12288;max-fr=60
a=fmtp:124 apt=120
a=fmtp:121 max-fs=12288;max-fr=60
a=fmtp:125 apt=121
a=fmtp:127 apt=126
a=fmtp:98 apt=97
a=ice-pwd:8118e393f3952040e0060e800c17dbc2
a=ice-ufrag:b515cfad
a=mid:1
a=msid:{d4ef79cc-6ab6-4464-b581-ece2c3fbf1e0} {ee4a3916-55a7-4992-8134-c81ac8cea572}
a=rtcp:50172 IN IP4 172.29.160.1
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 goog-remb
a=rtcp-fb:120 transport-cc
a=rtcp-fb:121 nack
a=rtcp-fb:121 nack pli
a=rtcp-fb:121 ccm fir
a=rtcp-fb:121 goog-remb
a=rtcp-fb:121 transport-cc
a=rtcp-fb:126 nack
a=rtcp-fb:126 nack pli
a=rtcp-fb:126 ccm fir
a=rtcp-fb:126 goog-remb
a=rtcp-fb:126 transport-cc
a=rtcp-fb:97 nack
a=rtcp-fb:97 nack pli
a=rtcp-fb:97 ccm fir
a=rtcp-fb:97 goog-remb
a=rtcp-fb:97 transport-cc
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:120 VP8/90000
a=rtpmap:124 rtx/90000
a=rtpmap:121 VP9/90000
a=rtpmap:125 rtx/90000
a=rtpmap:126 H264/90000
a=rtpmap:127 rtx/90000
a=rtpmap:97 H264/90000
a=rtpmap:98 rtx/90000
a=setup:actpass
a=ssrc:4074242173 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
a=ssrc:3652788950 cname:{ca38a686-634a-477e-89a3-16f4b00ce5c6}
a=ssrc-group:FID 4074242173 3652788950
Remote sdp:
v=0
o=- 123 1 IN IP4 127.0.0.1
s=-
t=0 0
a=fingerprint:sha-256 93:70:63:FC:98:35:64:50:AB:07:B7:56:72:82:B8:6A:0E:58:D7:50:01:C0:D7:4A:01:86:C2:28:B1:AF:0C:E9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic: WMS *
m=audio 1 RTP/SAVPF 8
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7074 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7074 typ host generation 0
a=inactive
a=ice-ufrag:5uVuNDrpZIRuqFnv
a=ice-pwd:2gTsLDmpv3Rc0SJDsc3MydjT
a=mid:0
a=msid:77975ac5-83a8-41d3-95d6-28330784cf7e 5cabb463-4897-47a7-b216-3eb503e7a7f1
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=setup:passive
a=bundle-only
a=ssrc:141019633 cname:484ad88b-f66d-4478-9efc-4274dec179c3
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7075 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7075 typ host generation 0
a=inactive
a=ice-ufrag:5uVuNDrpZIRuqFnv
a=ice-pwd:2gTsLDmpv3Rc0SJDsc3MydjT
a=mid:1
a=msid:77975ac5-83a8-41d3-95d6-28330784cf7e ea40ec6c-8f23-4876-8603-4e88e4685c93
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=setup:passive
a=bundle-only
a=ssrc:1824197586 cname:484ad88b-f66d-4478-9efc-4274dec179c3
O 1 671 457 637 515 (+15 999 ms)
v=0
o=- 123 1 IN IP4 127.0.0.1
s=-
t=0 0
a=fingerprint:sha-256 93:70:63:FC:98:35:64:50:AB:07:B7:56:72:82:B8:6A:0E:58:D7:50:01:C0:D7:4A:01:86:C2:28:B1:AF:0C:E9
a=group:BUNDLE 0 1
a=ice-options:trickle
a=msid-semantic: WMS *
m=audio 1 RTP/SAVPF 8
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7074 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7074 typ host generation 0
a=sendrecv
a=ice-ufrag:5uVuNDrpZIRuqFnv
a=ice-pwd:2gTsLDmpv3Rc0SJDsc3MydjT
a=mid:0
a=msid:6d6a5d67-fc98-487a-ae11-feadf0a83550_3 259c9f41-df1a-4a0a-99bb-865925751627
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:8 PCMA/8000
a=setup:passive
a=bundle-only
a=ssrc:365022300 cname:QylQ1HGpor9omS0z
m=video 1 RTP/SAVPF 100
c=IN IP4 0.0.0.0
a=candidate:1 1 udp 50 10.100.1.109 7075 typ host generation 0
a=candidate:1 2 udp 49 10.100.1.109 7075 typ host generation 0
a=sendrecv
a=ice-ufrag:5uVuNDrpZIRuqFnv
a=ice-pwd:2gTsLDmpv3Rc0SJDsc3MydjT
a=mid:1
a=msid:6d6a5d67-fc98-487a-ae11-feadf0a83550_3 c0827912-56ab-4aaf-a97c-eb400dba9ad0
a=rtcp:2 IN 0.0.0.0 IP4
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtcp-fb:100 transport-cc
a=setup:passive
a=bundle-only
a=ssrc:3945247179 cname:9Tn424ILJFMaRaPw
RTP Stats:
I have tried changing SDP. I compared my generated sdp to sdp from this website https://webrtc.github.io/samples/src/content/peerconnection/munge-sdp/
I listened to packets using wireshark and everything seems fine, but video does not show up.
Feel free to ask for more information. Thanks for any help
I fixed it. I was sending payload in my sdp a=rtpmap:100 VP8/90000, but firefox >=90.0 supports vp8 in version 120 as u can see in local sdp a=rtpmap:120 VP8/90000
I am unable to connect to PSql from my DigitalOcean server. This happened after resizing the droplet.
listen_addresses = '*' added to postgresql.conf
host all all 0.0.0.0/0 md5 added to pg_hba.conf
netstat -nlp displays the following:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1705/redis-server 1
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 23688/unicorn.conf
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1693/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1390/sshd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1693/nginx
tcp6 0 0 :::22 :::* LISTEN 1390/sshd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 10806 1173/dbus-daemon /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 711 1213/systemd /run/systemd/private
unix 2 [ ACC ] STREAM LISTENING 11921 1213/systemd /run/systemd/journal/stdout
unix 2 [ ACC ] STREAM LISTENING 11924 1213/systemd /run/snapd.socket
unix 2 [ ACC ] STREAM LISTENING 11925 1213/systemd /run/snapd-snap.socket
unix 2 [ ACC ] STREAM LISTENING 2813 1449/acpid /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 9801 1/init #/com/ubuntu/upstart
unix 2 [ ACC ] SEQPACKET LISTENING 427 708/systemd-udevd /run/udev/control
I am trying to use gcp to host my back end rest api. I have created successfully a vm instsnce ubuntu debian 9 , configured the firewall rules vpc network and now I have to to "make" it listen to some ports, in order the vm instance to accept requests from adresses. I followed the tutorials here: https://geekflare.com/gcp-load-balancer/ and https://www.scaleway.com/en/docs/how-to-configure-nginx-reverse-proxy/ , but neither of them works for me. Using load balancing and running the netstat -l in shh terimal , I get this :
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 0.0.0.0:bootpc 0.0.0.0:*
udp 0 0 instance-group-2-ff:ntp 0.0.0.0:*
udp 0 0 localhost:ntp 0.0.0.0:*
udp 0 0 0.0.0.0:ntp 0.0.0.0:*
udp6 0 0 fe80::4001:aff:fea6:ntp [::]:*
udp6 0 0 localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
and
from nginx :
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:http 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp6 0 0 [::]:http [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
udp 0 0 0.0.0.0:bootpc 0.0.0.0:*
udp 0 0 instance-group-for-:ntp 0.0.0.0:*
udp 0 0 localhost:ntp 0.0.0.0:*
udp 0 0 0.0.0.0:ntp 0.0.0.0:*
udp6 0 0 fe80::4001:aff:fea6:ntp [::]:*
udp6 0 0 localhost:ntp [::]:*
udp6 0 0 [::]:ntp [::]:*
and when writing the external ip on web browser : 502 Bad Gateway nginx/1.10.3
The reverse-proxy.conf is :
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/reverse-access.log;
error_log /var/log/nginx/reverse-error.log;
location / {
proxy_pass http://external:80;
}
}
I also tested nginx and everything is ok.
Do you know maybe what is wrong? Any help would be really appreciated
I've created a LXC container in Ubuntu 18.04. Physically, there is an USB to Ethernet adapter connected on the host machine. After starting the LXC container, how to access the USB ethernet adapter? Are there configurations for LXC to do?
The info on the Host machine:
rui#rui-desktop:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::f763:92fe:8145:163 prefixlen 64 scopeid 0x20<link>
ether 00:0e:c6:c9:1a:18 txqueuelen 1000 (Ethernet)
RX packets 1 bytes 46 (46.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 158 bytes 29470 (29.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1430
inet 173.39.202.159 netmask 255.255.255.128 broadcast 173.39.202.255
inet6 fe80::2e0:4cff:fe68:12c prefixlen 64 scopeid 0x20<link>
ether 00:e0:4c:68:01:2c txqueuelen 1000 (Ethernet)
RX packets 1911906 bytes 851840909 (851.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 350546 bytes 25613552 (25.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 149 base 0xd000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 35420 bytes 2918763 (2.9 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 35420 bytes 2918763 (2.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lxcbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 10.0.3.1 netmask 255.255.255.0 broadcast 0.0.0.0
inet6 fe80::216:3eff:fe00:0 prefixlen 64 scopeid 0x20<link>
ether 00:16:3e:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 859 bytes 86124 (86.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 831 bytes 88890 (88.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
rndis0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether be:86:e5:ee:9a:ed txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether be:86:e5:ee:9a:ef txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0 is the interface that I want to access, and the output from lsusb is
rui#rui-desktop:~$ lsusb
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
**Bus 001 Device 015: ID 0b95:7720 ASIX Electronics Corp. AX88772**
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
LXC container info:
Last login: Sat Feb 24 17:40:28 UTC 2018 on pts/0
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.9.140-tegra aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
cisco#ul:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
40: eth0#if41: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:16:3e:d6:9b:38 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 10.0.3.194/24 brd 10.0.3.255 scope global dynamic eth0
valid_lft 3586sec preferred_lft 3586sec
inet6 fe80::216:3eff:fed6:9b38/64 scope link
valid_lft forever preferred_lft forever
Adding these setting in /var/lib/lxc/ul/config make it working.
lxc.net.1.type = phys
lxc.net.1.link = eth0
lxc.net.1.flags = up
lxc.net.1.hwaddr = 00:0e:c6:c9:1a:18
Wired connection was not identified by Ubuntu.
Here's my result if I run ifconfig -a on terminal
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 308 bytes 22700 (22.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 308 bytes 22700 (22.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.42.0.249 netmask 255.255.255.0 broadcast 10.42.0.255
inet6 fe80::a78:589e:2107:b3c4 prefixlen 64 scopeid 0x20<link>
ether dc:53:60:e2:ce:99 txqueuelen 1000 (Ethernet)
RX packets 13416 bytes 9588247 (9.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9109 bytes 1698278 (1.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Help me to get out of this
Thanks in Advance :)
The following helped me (I'm not quite sure why, but it did! :D)
Check ethernet state with
$ nmcli device
Check if there are errors or warnings from NetworkManager
$ systemctl status NetworkManager.service
Go root:
$ sudo -s
Delete all files in the directory /var/lib/NetworkManager/ except secret_key
$ cd /var/lib/NetworkManager/
$ rm -v !("secret_key")
Now reboot system and check ethernet state with nmcli device
If that does not help, you can create an empty file with this command and restart the computer again.
sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
Source: https://forum.ubuntuusers.de/topic/kein-netzzugriff/