File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to define a URL to access a web application deployed on computer on LAN

 
jacob deiter
Ranch Hand
Posts: 580
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two computers (machine -1,machine-2) connected on LAN,Tomcat is running on machine-2 ,how the URL should be defined to access the web application deployed on machine-2 from machine -1

Please explain the URL also?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The format is the same that it always is: http://11.22.33.44:88/, where "11.22.33.44" is the IP address, and "88" is the port number (optional if it's 80). If the machine has a network name then you can use that instead of the IP address.

It doesn't matter from which machine you're trying to access the server - the URL is the same for all clients.
 
Henry Wong
author
Marshal
Pie
Posts: 20836
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jacob,

You should really consider the subject when you post a topic -- this topic, and your other recent topic, have nothing to do with Java in General (beginners)... Moving...

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic