Menu

Can I test locally w/ http://localhost:8086?

Help
cseberino
2009-03-31
2013-04-09
  • cseberino

    cseberino - 2009-03-31

    When I run on Linux with java -cp ../lib/miniohttpd-1.0.jar:. hk/haha/onet/ajaxvnc/AjaxVNCServer

    I tried to test by surfing locally to localhost:8086.

    All I get there is this dump verbatim after URL gets redirected to http://localhost:8086/index.htm

    <html>
    <title>Ajax VNC Login</title>
    <script type="text/javascript" src="/md5.js"></script>
    <script type="text/javascript">
    var sid = "[SESSION_ID]";

    function submitlogin()
    {
        p = document.forms[0].password.value;
        document.forms[0].password.value="";
        document.forms[0].md5password.value=hex_md5(sid+p);
        alert(document.forms[0].md5password.value);
        return true;
    }

    </script>
    <body>
    <h1><a href="http://sourceforge.net/projects/ajaxvnc">Ajax VNC</a>&nbsp;1.0</h1>
    <hr>
    <form name=ajaxvnclogin action="ajaxvnc.htm" onsubmit="return submitlogin();" method=post>
    Password: <input type=password name="password">
    <input type=hidden name="md5sid">
    <input type=submit name="login" value="Login" >
    </form>
    <br>
    <br>
    <a href='kmtest.htm'>Keyboard and mouse events compatibility test</a>

    </body>
    </html>

     
    • cseberino

      cseberino - 2009-03-31

      N/m :)

      I saw that I have to surf to this alternate URL instead...

      http://localhost:8086/remotedesktop.html

      *That* worked.

      cs

       

Log in to post a comment.