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.
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.
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 thisthread last week. But as Tim says in that thread, it really isn't a "solution".
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.
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.