0

我在设置 apprtc 服务器时遇到问题,因为我似乎无法远程访问它。这是我所做的以及目前正在发生的事情。

我 git 将此项目克隆到 ubuntu 16.06 服务器上。

https://github.com/webrtc/apprtc

我按照安装说明进行操作。

目前,当我在 Windows 机器上的浏览器中输入任何这些 url、http://192.168.0.110:8000http://192.168.0.110:8080http://localhost:8000http://localhost:8080 、 时 http://localhost:8089,我会收到类似或类似的错误This site can not be reached, connection refused

但是,如果我打开一个 SSH 终端并输入以下内容:

ssh admin@192.168.0.110
wget http://localhost:8080/

我得到一个index.html具有以下内容的

<!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

我究竟做错了什么?如何远程访问此 apprtc 服务器/项目?

4

0 回答 0