AgoraIO / Basic-Video-Call

Sample app to join/leave a channel, mute/unmute, enable/disable the video, and switch between front/rear cameras.
MIT License
696 stars 1.01k forks source link

Can be exposed and accessed via public ip address instead of localhost #253

Open bangsep opened 3 years ago

bangsep commented 3 years ago

I'm using OpenVideoCall-Web. To access my server, I open a browser and enter http://localhost:8080 as the URL. My question is can i be exposed and accessed via public ip address (eg: http://11.22.33.44:8080) instead of localhost (http://localhost:8080)

yoreland commented 3 years ago

it is using webpack-dev-server for localhost visit You might be interested to check this: https://stackoverflow.com/questions/44423392/how-to-get-access-to-webpack-dev-server-with-external-ip

plutoless commented 3 years ago

@bangsep you can also run "npm run build" and deploy to your own server with nginx.