Reputation: 33715
I'm having trouble setting up the apprtc server because I can't seem to remotely access it. Here's what I did and what's currently happening.
I git cloned this project onto an ubuntu 16.06 server.
https://github.com/webrtc/apprtc
I followed the installation instructions.
At the moment, when I type into my browser on my windows machine any of these urls, http://192.168.0.110:8000
, http://192.168.0.110:8080
, http://localhost:8000
, http://localhost:8080
, http://localhost:8089
, I get the an error like This site can not be reached, connection refused
or something like that.
However, if I open up an SSH terminal and type this:
ssh [email protected]
wget http://localhost:8080/
I get an index.html
that has the following contents
<!DOCTYPE html>
<!--
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
-->
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="WebRTC reference app">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
<meta itemprop="description" content="Video chat using the reference WebRTC application">
<meta itemprop="image" content="/images/webrtc-icon-192x192.png">
<meta itemprop="name" content="AppRTC">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#1e1e1e">
<base target="_blank">
<title>AppRTC</title>
<link rel="manifest" href="/manifest.json">
<link rel="icon" sizes="192x192" href="/images/webrtc-icon-192x192.png">
<link rel="canonical" href="">
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<!--
* Keep the HTML id attributes in sync with |UI_CONSTANTS| defined in
* appcontroller.js.
-->
<div id="videos">
<video id="mini-video" autoplay playsinline muted></video>
<video id="remote-video" autoplay playsinline></video>
<video id="local-video" autoplay playsinline muted></video>
</div>
<div id="room-selection" class="hidden">
<h1>AppRTC</h1>
<p id="instructions">Please enter a room name.</p>
<div>
<div id="room-id-input-div">
... and a whoel bunch of stuff that looks promising
What am I doing wrong? How do I access this apprtc server/project remotely?
Upvotes: 0
Views: 401