my dog learned polymorphism*
The moose likes Tomcat and the fly likes Bind address error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Bind address error" Watch "Bind address error" New topic
Author

Bind address error

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi
I have a tomcat running currently. Then I run apache and it clash with some bind address error as below. I think its because my tomcat is running on port 443. I just want to know whether I can start apache without shutting down tomcat? Can I set apache to another port or something? Thanks

[root@localhost sbin]# service httpd start
Starting httpd: (98)Address already in use: make_sock: could not bind to address
0.0.0.0:443
no listening sockets available, shutting down
[FAILED]
[root@localhost sbin]# netstat -nap|grep 443
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
2627/java
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You can configure the ports that apache uses in the httpd.conf file


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
wood burning stoves
 
subject: Bind address error