Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bind address error

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can configure the ports that apache uses in the httpd.conf file
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic