WebRTC: ICE failed, add a STUN server and see about:webrtc for more details

im getting ice connection failed error.
currently i have used

listenIP : 0.0.0.0
announcedIP: 202.51.1.167

i have disabled firewall. but still not working . please give any solution

Check that the ports are available from the outside with some simpler tool like netcat, etc.

this is my nginx configuration please check if any wrong please correct. thank you

server {
listen 80;
listen 443 ssl;
index index.html;
#server_name mediasoup-server.ambitionguru.xyz;

 server_name _;
 error_log /var/log/nginx/mediasoup-server.ambitionguru.xyz.log;

root /var/www/html/ag-media-soup;

ssl_certificate /etc/nginx/ssl/selfsigned.crt;
ssl_certificate_key /etc/nginx/ssl/selfsigned.key;

location / {
    proxy_pass http://localhost:8001;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    add_header Access-Control-Allow-Origin *;
}

# Define a range of ports for WebRTC

set_real_ip_from 202.51.3.50; # Add your server’s IP here

#real_ip_header X-Real-IP;

}

This is the mediasoup documentation please check if any wrong please correct. thanks you

Actually i have one media server and two client side domain which connects to same server.
mediaserver → client side frontend
→ admin side frontend

on client side two users can connect
but when i try to connect admin side and client side. Ice connection error occurs.
is there anything left to configure ?