Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

How can i implement tomcat in my LAN

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using tomcat 7 on my windows 7 laptop, I tried changing the serverl.xml file and editting it with an additional "address" filed which has the static ip address of my computer. But whenever i hit http://192.168.1.100:8080" It doesnt work and it is only working on the loopback address and localhost which is the default host name. Please I am working on it and trying to get a solution from past 2 days. Somebody please help.

Thank you.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "it doesn't work"? What, exactly, are you trying to do, and what, exactly, is the result?

Does it work from some other machine on the network?

A quick look through my server.xml shows no attribute named "address" anywhere; are you sure that it exists? And if it exists, what do you think it's supposed to do? Nothing you do in your Tomcat's setup can cause it to listen on a particular IP address if the network and your machine isn't set up for that.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lester Burnham wrote:
A quick look through my server.xml shows no attribute named "address" anywhere; are you sure that it exists?



Apparently the "address" attribute can be specified in the Connector element of server.xml. I wasn't aware of that, until I saw this thread last week. But as Tim says in that thread, it really isn't a "solution".
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"rahul man utd"

Please check your private messages for a message from JavaRanch.
 
rahul mason
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
well there is an address field which can be used, I had read it on some forum. Whenever i hit 192.168.1.100:8080 , i get page not found. My question is,Is there a way to assign an ip address to my tomcat server so i can access it in LAN, in my setup i am using a laptop , a pc and an ipod i tried pulling the tomcat homepage from my ipod and other computer but didnt get a reply.

I believe all people out there could help me to find a solution , if no , then no use of posting me.
 
rahul mason
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:"rahul man utd"

Please check your private messages for a message from JavaRanch.



Dude I agreed to your infamous naming policy now help me as I can see you are a member from a long time. I would appreciate that.
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

rahul mason wrote:

Jaikiran Pai wrote:"rahul man utd"

Please check your private messages for a message from JavaRanch.



Dude I agreed to your infamous naming policy now help me as I can see you are a member from a long time.



Infamous? If you have any problems with the naming policy, feel free to open a separate thread here https://coderanch.com/forums/f-10/Ranch-Office.
 
rahul mason
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jaikiran Pai wrote:

rahul mason wrote:

Jaikiran Pai wrote:"rahul man utd"

Please check your private messages for a message from JavaRanch.



Dude I agreed to your infamous naming policy now help me as I can see you are a member from a long time.



Infamous? If you have any problems with the naming policy, feel free to open a separate thread here https://coderanch.com/forums/f-10/Ranch-Office.



Dude fine i dont want to read that. You had a problem with my display name , i have resolved it for you. Now the meaning of this website is to resolve problems, if you could take some effort to try and check out the problem and give a solution , if not, i wish i hadnt posted my problem here.
 
New rule: no elephants at the chess tournament. Tiny ads are still okay.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic