EndofNow: When is now?

Choose a Topic:

Wed
14
Sep '05

IIS on Tomcat - same server, same port

***Warning – Geek Post Ahead.***

In the interest of being difficult, cheap, and looking for adventure we are choosing to run IIS and Tomcat (or for that matter other web servers) on the same physical box. This is a piece of cake if you want to use multiple ports. We feel that is a clumsy solution and sought an alternative. We are using port 80 for both IIS and tomcat by assigning multiple IP addresses to the box and configuring each web server to only listen to one IP address.

1.Assign multiple IP addresses to NIC and create DNS entries
http://www.windowsnetworking.com/articles_tutorials/multiipa.html
2. Disable IIS Connection Pooling
cd c:\inetpub\adminscripts
cscript adsutil.vbs set w3svc/disablesocketpooling true
http://techrepublic.com.com/5100-10879_11-5841376.html
3.Set IIS to listen to specific IP address
IIS Administrator.
Right Click on Website
Click Properties
Website Tab
Specify desired IP address
4. Restart IIS
5. Configure Tomcat to listen to a specific IP address
Edit conf/server.xml
Add/change the address attribute of the connector to <connector … address=”123.45.67.89″ …>

If you have multiple sites running on IIS, even if they are stopped, you need to change their IP assignments to only your desired IP. This tripped us up for a while.

Enjoy!

70 Responses to “IIS on Tomcat - same server, same port”

  1. Billy Says:

    This is awesome! Thank you!

  2. Sesso con cavalli Says:

    [URL]http://www.sesso-con-cavalli.sollazzo.org[/URL]

  3. Google Says:

    Leggo ed imparo sul vostro luogo. grazie![URL]http://www.google.autorita.org[/URL]

  4. Bridget Says:

    All is fish that comes to his net. Bridget.

  5. Pornografia Says:

    Leggo ed imparo sul vostro luogo. grazie!

  6. Pompini Says:

    Buon luogo, congratulazioni, il mio amico!

  7. Virgilio Says:

    Buon luogo piacevole senza qualsiasi cosa dispari, ben progettata!

  8. alabama swinger Says:

    Hello all swingers. More information for your life.
    swinger

  9. Bimbo Says:

    Luogo interessante, buon disegno, lo gradisco, signore! =)

  10. Salamon Says:

    A cat in gloves catches no mice… Salamon

  11. Archibald Says:

    He that has… Archibald

  12. alaska swinger Says:

    Hello this is online new for you about alaska swinger. Welcome alaska swinger.
    Thank you!.

  13. Ottewell Says:

    We soon believe what we desire… Ottewell

  14. Emmanuel Says:

    To look for a needle in a haystack… Emmanuel

  15. Leonard Says:

    Borrowed garments never fit well… Leonard

  16. Jocatta Says:

    Many a little makes a mickle… Jocatta

  17. Giorgia Palmas Says:

    Interessando, luogo abbastanza luminoso, penso +5

  18. Abiti da sposa Says:

    Leggo ed imparo sul vostro luogo. grazie!

  19. firewall Says:

    Luogo interessante, buon disegno, lo gradisco, signore! =)

  20. korin Says:

    Commentary and archival information about Jenna Jameson from The New York Times - Jenna Jameson hardcore

  21. Luka Says:

    Commentary and archival information about Jenna Jameson from The New York Times - Jenna Jameson hardcore

  22. eoxgmhai Says:

    eoxgmhai…

    eoxgmhai…

  23. plane tickets Says:

    hi great site great work thank you

  24. discount airfare Says:

    hi great site great work thank you

  25. dental insurance Says:

    hi great site great work thank you

  26. chase credit cardchase credit card Says:

    hi great site great work thank you

  27. student loans Says:

    hi great site great work thank you

  28. loan calculator Says:

    hi great site great work thank you

  29. weight loss pills Says:

    hi great site great work thank you

  30. tadalafil Says:

    good site nice work

  31. nolvadex Says:

    Here only the valuable information!!!
    nolvadex
    [url=http://www.drugs.fastppc.info/product_nolvadex.htm] nolvadex [/url]

  32. teen lesbians Says:

    hi great work thank you

  33. nude teens Says:

    hi great work thank you

  34. Gay blow jobs Says:

    hi great work thank you

  35. interracial Says:

    hello good work thank you

  36. lesbian Says:

    hello good work thank you

  37. porn Says:

    hello good work thank you

  38. milfs Says:

    hello good work thank you

  39. pussy Says:

    hello good work thank you

  40. creampie Says:

    hello good work thank you

  41. adult Says:

    hello good work thank you

  42. internal Says:

    hello good work thank you

  43. video Says:

    hello good work thank you

  44. teens Says:

    hello good work thank you

  45. fetish Says:

    hello good work thank you

  46. xxx Says:

    hello good work thank you

  47. blowjob Says:

    hi great work great site thank you

  48. porn Says:

    hi great work great site thank you

  49. anal Says:

    hi great work great site thank you

  50. pantyhose Says:

    hi great work great site thank you

  51. pussy Says:

    hi great work great site thank you

  52. softcore Says:

    hi great work great site thank you

  53. asian Says:

    hi great work great site thank you

  54. nude Says:

    hi great work great site thank you

  55. Aavaisha Says:

    ( gluks in here….(

  56. hardcore Says:

    hi great work great site thank you

  57. free ring tones Says:

    hi great work great site thank you

  58. Ab Says:

    It is possible to delete all this slip?

  59. ring tones Says:

    hello nice work thank you

  60. Abbe Says:

    Nice..nice post.

  61. Abbey Says:

    Thanks man, i agree

  62. Adriene Says:

    Thanks man, i agree

  63. esther davis Says:

    can you please explain this in detailed way. I want to get tomcat work on port 80 with different IP, but struggling to get it. I have already spent more than 2 days to configure tomcat on port 80. We have IIS instaleld which is serving three websites on different IPs. I want to configure tomcat with different IP on port 80. when I try to call page on port 80 - i get the error address already in use. JVM_bind:80/ Please help.

  64. free music downloads site Says:

    Hi boys!fc05baa857f09258093d3e5d91b55dfc

  65. tksoftdq Says:

    Good site!

  66. medium psychic absolutely Says:

    medium lori psychic psychic reading medium

  67. hypnosis training school institute hypnotherapy Says:

    hypnotherapy hypnotism
    [url=http://www.searchinform.com/forum/member.php?u=56 ]advanced hypnotherapy[/url]

    hypnotherapy weight loss

  68. Kazelznk Says:

    Hi!ueom! http://unqdrwhl.com ndrbk mfwuy http://oqsfsszi.com hwetr sgpze

  69. Kazelart Says:

    Hi! http://tuzdbwuo.com sdbhw lbikh http://xdbvmpxq.com kxifi ncwby

  70. escorts escort lesbian Says:

    escorts lesbian escort new lesbian escort

Leave a Reply