简体   繁体   中英

How other person can access my local javascript application( Through my IP Address) using Apache Tomcat 7

I developed a javascript application ( Video player) for crome/firefox. I developed and tested in my chrome and firefox and there are no errors.

Other person wants to acces the player through my IP address..( we are both connected by LAN network).. so i installed apache and wanted to share my application folder which look like .... I am using ubuntu 12.04 ..

Folder structure :

... player.html

... player_css.css

... JS ( folder)

............javascript files

... input Videofile to play

I started player.html in apache and cannot see anything loaded (CSS, javascript ..)

Kindly please help me how the other person can see my video player through my IP address using apache tomcat or other servers ..

Thanks.

If you can access your app via

http://localhost/

you just have to open the port (normally 80) in your router settings (port-forwarding) to proxy access on your ip on port 80 to your computer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM