Two Laptop Bag
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Bind address error" Watch "Bind address error" New topic

Bind address error

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
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
no listening sockets available, shutting down
[root@localhost sbin]# netstat -nap|grep 443
tcp 0 0* LISTEN
Ben Souther

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Bind address error
jQuery in Action, 3rd edition