first of all i will thank to who will help me out this..
my actually question is that , there is two pc in LAN in my house. and i make LAN connection between them, so pc1 is call as server because it has tomcat server and whole开发者_C百科 project which are made into jsp/servlet. then , how can i open pc1(server) 's jsp page from pc2(another) pc.
thank you mihir gandhrokiya
http://{server.ip.here}:8080/app/some.jsp
Make sure you don't have a firewall blocking the connection.
SERVERIP:SERVERPORT/appcontext/jsppage.jsp
for example
192.1.200.102:8080/myApp/music.jsp
Note: you don't need to mention port for http
if server is serving on port 80
,for https
its 443
[1]: http:// 209.85.231.104
Connect CROSS-CABLE(LAN) between PC1(Server) and PC2(Client) configure IP like
PC1
IP:192.168.0.1 Subnet mask: 255.255.255.0
for PC2
IP:192.168.0.2 subnet mask:255.255.255.0
if your project URL like (http://192.168.0.1:8080/project/index.jsp) on your server side (PC1). you can browse the page from client side (PC2) using (http://192.168.0.1:8080/project/index.jsp)
精彩评论