wangmq wrote:
> 
> I have create a new web application in default server, now I can visit it's servlet 
>by http://myhost:8100/myweb/servlet/myservlet. If I want to visit it by 
>http://myhost:80/myweb/servlet/myservletor http://myhost/myweb/servlet/myservlet 
>(because my appache web server's port is 80), then I replace default server's port 
>8010, set 80. When I start the JRun default server, it don't start. it's log file 
>tell me : port 80 has been used by other service.
> 
> How to fix it?

Basically, it's not the question for that forum, but...

You have two choices, both depends on an answer to the question: do you
want to use Apache with JRun (only as servlet container) or run JRun
standalone (servlet container and web server) ? Since any port can be
used *only* by one process, you can't run Apache listening on port 80
and at the same time try to run another process (JRun in this case) to
listen on the same port. Therefore, if you want to get rid of specifying
port number in your URL in order to invoke servlets, let Apache dispatch
all requests related to your web application to JRun, or just forget
about Apache (shutdown it) and run JRun standalone.

Take a look at JRun documentation to read more about possible
configurations.

> Thanks!
> 
> NĄ­

Jacek Laskowski


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to