Hi,
I have developed one easyrtc application .
Easyrtc(Node Server) run on 9090 port and apache tomcat run on 8443 port.
I have deployed this application on apache tomcat server using easyrtc.setSocketUrl(":9090");
It is working fine on localhost......
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
On the apche tomcat server in demos folder i have replaced following lines
<head
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Simple Video+Audio</title>
<link rel="stylesheet" type="text/css" href="//localhost:9090/easyrtc/easyrtc.css" />
<!--hide-->
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<link rel="stylesheet" type="text/css" href="css/demo_audio_video_simple.css" />
<!-- Prettify Code -->
<script type="text/javascript" src="js/prettify/prettify.js"></script>
<script type="text/javascript" src="js/prettify/loadAndFilter.js"></script>
<script type="text/javascript" src="js/prettify/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/prettify/prettify.css" />
<!--show-->
<!-- Assumes global locations for socket.io.js and easyrtc.js -->
<script type="text/javascript" src="//localhost:9090/easyrtc/easyrtc.js"></script>
<script type="text/javascript" src="js/demo_audio_video_simple.js"></script>
</head>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
And in the JS file i have replaced easyrtc.setSocketUrl(":9090");
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
So in my production enviorment we have deployed apache tomcat server and i have this application on this server
But now when i accessing this from my client machine the code wriiten in html file is not able to reolve the machine
<link rel="stylesheet" type="text/css" href="//localhost:9090/easyrtc/easyrtc.css" />. It cant resolve localhost:9090
.
Due to some limitation we dont have access to the port 9090 on client machine.The servers 9090 port is not open for client machine
Is there any way that i can remove the reference of //localhost:9090 by moving any files on the server side..???????
Is there any way that i acn access easyrtc server side code without giving this kind of reference.?????
The above code is working fine on server machine itself.