I'm trying to get the news site running on a VM. Not using a web server. Everything is installed and running ./run-news brings up the Arc prompt and a message about port 8080 being ready. But when I try and access the 192.168.56.121:8080 (IP of VM) it times out. On the VM, curl -v -s http://localhost:8080/: * Hostname was NOT found in DNS cache
* Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.35.0
> Host: localhost:8080
> Accept: /
>
< HTTP/1.1 200 OK
< Content-Type: text/html; charset=utf-8
< Connection: close
<
<html><head><link rel="stylesheet" type="text/css" href="news.css">
<link rel="shortcut icon" href="">
<meta name="viewport" content="width=device-width">
<script>
function byId(id) {
return document.getElementById(id);
} function vote(node) {
var v = node.id.split(/_/); // {'up', '123'}
var item = v[1]; // adjust score
var score = byId('score_' + item);
var newscore = parseInt(score.innerHTML) + (v[0] == 'up' ? 1 : -1);
score.innerHTML = newscore + (newscore == 1 ? ' point' : ' points');
// hide arrows
byId('up_' + item).style.visibility = 'hidden';
try { byId('down_' + item).style.visibility = 'hidden'; }
catch(err) {} // ignore
// ping server
var ping = new Image();
ping.src = node.href;
return false; // cancel browser nav
} </script><title>My Forum</title></head><body><center><table border=0 cellpadding=0 cellspacing=0 width="85%" bgcolor=#f6f6ef><tr><td bgcolor=#b4b4b4><table border=0 cellpadding=0 cellspacing=0 width="100%" style="padding:2px"><tr><td style="width:18px;padding-right:4px"><a href="http://www.yourdomain.com"><img src="arc.png" width=18 height=18 style="border:1px #b4b4b4 solid;"></img></a></td><td style="line-height:12pt; height:10px;"><span class="pagetop"><b><a href="news">My Forum</a></b><img src="s.gif" height=1 width=10><a href="newest">new</a> | <a href="newcomments">comments</a> | <a href="leaders">leaders</a> | <a href="submit">submit</a></span></td><td style="text-align:right;padding-right:4px;"><span class="pagetop"><a href="/x?fnid=m5fyrD5sDO">login</a></span></td></tr></table></td></tr><tr style="height:10px"></tr><tr><td><table border=0 cellpadding=0 cellspacing=0></table></td></tr><tr><td><img src="s.gif" height=10 width=0><table width="100%" cellspacing=0 cellpadding=1><tr><td bgcolor=#b4b4b4></td></tr></table><br>
* Closing connection 0
<center></center></td></tr></table></center></body></html>This looks like it might be a webpage, but I'm not sure what the issue is and any help with this would be huge! |