Why can't they? He is not talking about two server applications binding to the same port, he is talking about two Servlet based applications utilizing the same web/database server & Servlet container..
Of course he can have multiple applications running on the same port. http://mycomputerip:8080/servlet/Application1 http://mycomputerip:8080/servlet/Application2 David -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of Galbreath, Mark Sent: Tuesday, September 10, 2002 1:01 PM To: [EMAIL PROTECTED] Subject: Re: two application can use same port number? Nope. -----Original Message----- From: bin cai [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 3:58 PM To: [EMAIL PROTECTED] Subject: two application can use same port number? Hi, I have one web-based application in my computer which is developed using servlet, mysql. It can be invoked by Http://mycomputerip:8080/dir/servlet calss. now i want to develope another application using servlet too.These two application share same mysql and web server. I am wondering if it is safe i still use port number 8080 for my second applicaition. I am not sure if two application use same port number for web server and mysql server? Any help will be appreciated very much Thanks in advance bin ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html