This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
I agree. Here's the link:
subject: Bind address error
It's not a secret anymore!