RabbitMq无法访问http://localhost:1567,Failed to start Ranch listener {acceptor,{0,0,0,0,0,0,0,0},5672解决
RabbitMq安装后启动都没错误,任务栏查看进程也是正在运行,但是http://localhost:15672就是无法访问,rabbitmq-plugins enable rabbitmq_management命令也执行过,都无错误,但就是无法访问,下面是错误信息
Failed to start Ranch listener {acceptor,{0,0,0,0,0,0,0,0},5672} in ranch_tcp:listen([{port,5672},{ip,{0,0,0,0,0,0,0,0}},inet6,{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}]) for reason eacces (permission denied)2019-09-21 15:02:52 =CRASH REPORT====crasher:initial call: supervisor:ranch_acceptors_sup/1pid: <0.336.0>registered_name: []exception exit: {{listen_error,{acceptor,{0,0,0,0,0,0,0,0},5672},eacces},[{ranch_acceptors_sup,listen_error,4,[{file,"src/ranch_acceptors_sup.erl"},{line,59}]},{ranch_acceptors_sup,init,1,[{file,"src/ranch_acceptors_sup.erl"},{line,38}]},{supervisor,init,1,[{file,"supervisor.erl"},{line,294}]},{gen_server,init_it,2,[{file,"gen_server.erl"},{line,365}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,333}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}ancestors: [<0.334.0>,<0.333.0>,rabbit_sup,<0.242.0>]message_queue_len: 0messages: []links: [<0.334.0>]dictionary: []trap_exit: truestatus: runningheap_size: 610stack_size: 27reductions: 1517neighbours:2019-09-21 15:02:52 =SUPERVISOR REPORT====Supervisor: {<0.334.0>,ranch_listener_sup}Context: start_errorReason: {listen_error,{acceptor,{0,0,0,0,0,0,0,0},5672},eacces}Offender: [{pid,undefined},{id,ranch_acceptors_sup},{mfargs,{ranch_acceptors_sup,start_link,[{acceptor,{0,0,0,0,0,0,0,0},5672},10,ranch_tcp,[{port,5672},{ip,{0,0,0,0,0,0,0,0}},{max_connections,infinity},{ack_timeout,5000},{connection_type,supervisor},inet6,{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}]]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]2019-09-21 15:02:52 =SUPERVISOR REPORT====Supervisor: {<0.333.0>,tcp_listener_sup}Context: start_errorReason: {shutdown,{failed_to_start_child,ranch_acceptors_sup,{listen_error,{acceptor,{0,0,0,0,0,0,0,0},5672},eacces}}}Offender: [{pid,undefined},{id,{ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},5672}}},{mfargs,{ranch_listener_sup,start_link,[{acceptor,{0,0,0,0,0,0,0,0},5672},10,ranch_tcp,[{port,5672},{ip,{0,0,0,0,0,0,0,0}},{max_connections,infinity},{ack_timeout,5000},{connection_type,supervisor},inet6,{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}],rabbit_connection_sup,[]]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]2019-09-21 15:02:52 =CRASH REPORT====crasher:initial call: application_master:init/4pid: <0.241.0>registered_name: []exception exit: {{bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,{{shutdown,{failed_to_start_child,{ranch_listener_sup,{acceptor,{0,0,0,0,0,0,0,0},5672}},{shutdown,{failed_to_start_child,ranch_acceptors_sup,{listen_error,{acceptor,{0,0,0,0,0,0,0,0},5672},eacces}}}}},{child,undefined,'rabbit_tcp_listener_sup_:::5672',{tcp_listener_sup,start_link,[{0,0,0,0,0,0,0,0},5672,ranch_tcp,[inet6,{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}],rabbit_connection_sup,[],{rabbit_networking,tcp_listener_started,[amqp,[{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}]]},{rabbit_networking,tcp_listener_stopped,[amqp,[{backlog,128},{nodelay,true},{linger,{true,0}},{exit_on_close,false}]]},10,"TCP Listener"]},transient,infinity,supervisor,[tcp_listener_sup]}}}},[{rabbit_networking,start_listener0,5,[{file,"src/rabbit_networking.erl"},{line,230}]},{rabbit_networking,'-start_listener/5-lc$^0/1-0-',5,[{file,"src/rabbit_networking.erl"},{line,221}]},{rabbit_networking,start_listener,5,[{file,"src/rabbit_networking.erl"},{line,221}]},{rabbit_networking,'-boot_tcp/1-lc$^0/1-0-',2,[{file,"src/rabbit_networking.erl"},{line,128}]},{rabbit_networking,boot_tcp,1,[{file,"src/rabbit_networking.erl"},{line,128}]},{rabbit_networking,boot,0,[{file,"src/rabbit_networking.erl"},{line,121}]},{rabbit_boot_steps,'-run_step/2-lc$^1/1-1-',1,[{file,"src/rabbit_boot_steps.erl"},{line,49}]},{rabbit_boot_steps,run_step,2,[{file,"src/rabbit_boot_steps.erl"},{line,49}]}]}}}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}ancestors: [<0.240.0>]message_queue_len: 1messages: [{'EXIT',<0.242.0>,normal}]links: [<0.240.0>,<0.33.0>]dictionary: []trap_exit: truestatus: runningheap_size: 2586stack_size: 27reductions: 157neighbours:
翻译了一下说是权限不足,后来怎么想怎么不对.
困扰了一周多后,我忽然想到电脑原来装过Apache ActiveMQ,会不会是有冲突,上网搜了下发现两个Mq默认端口竟然一样!!!
真坑啊,果然是端口冲突了.
于是我把Apache ActiveMQ停止后,重启RabbitMq.然后就能正常访问了
RabbitMq无法访问http://localhost:1567,Failed to start Ranch listener {acceptor,{0,0,0,0,0,0,0,0},5672解决相关推荐
- Spark读取HDFS文件报错:java.net.ConnectException: Call From to localhost:9000 failed on connection
在Ubuntu启动了spark后进入scala,从HDFS读取已经放入的README.md文件,输入 val textFile = sc.textFile("hdfs://localhost ...
- 解决访问http://localhost:8080/需要用户和密码的问题
解决访问tomcat网页需要用户和密码的问题 有时候我们访问http://localhost:8080/,会弹出如下框框,需要用户名和密码 这个时候大多数是端口号冲突了,打开安装目录-conf-ser ...
- eclipse启动tomcat 访问http://localhost:8080 报404错误
前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. eclipse正常启动tomcat,但是 访问http://localhost:8080 却报404 ...
- eclipse配置tomcat,访问http://localhost:8080出现404错误
问题:通过eclipse来启动tomcat会碰到"访问http://localhost:8080出现404错误"这样的问题,需要在eclipse中进行一系列的设置才行. 解决:打 ...
- vue.js WebSocket connection to ‘ws://localhost:3000/‘ failed: WebSocket is closed due to suspension.
报错 客户端 Safari 版本 13.0.1 (14608.2.11.1.11) 场景重现 点击切换页面,vue.js 就报错这个提示.但放到线上去又不会有. WebSocket connectio ...
- springboot使用swagger2时,访问http://localhost:8080/swagger-ui.html页面404,无法访问
解决springboot使用swagger2时,访问http://localhost:8080/swagger-ui.html页面404 其实还需导入一下依赖 <dependency>&l ...
- ‘Authentication failed.‘ on server xx.xx.xxx.x:27017. The full response is { “ok“ : 0.0, “errmsg“
异常产生环境 在SpringBoot项目中使用yml文件连接mongodb产生(mongodb带密码验证) 异常描述 com.mongodb.MongoCommandException: Comman ...
- 【已解决】Springboot服务 Netty启动报错Failed to submit a listener
[已解决]Springboot服务 Netty启动报错Failed to submit a listener Force-closing a channel whose registration ta ...
- hive报错:Call from hostname/127.0.1.1 to localhost:9000 failed on connection exception.主节点9000端口拒绝访问.
1.美图 2.背景 启动hadoop (base) lcc@lcc hadoop-2.7.4$ sh sbin/start-all.sh This script is Deprecated. Inst ...
最新文章
- Redis 的 8 大数据类型,写得非常好!
- PHP list的赋值
- MFC的HTML View在初始化时如何打开指定网页?
- 一款网盘软件应该具备哪些功能?
- jQuery(非插件)制作商城放大镜效果
- 优化无极限:从96秒到1.5秒
- EditPlus 3.7 中文版已经发布
- jvm虚拟机规范官方文档入口
- IDEA 设置类注释模板
- 51单片机课设 计算器
- HTML常见标签学习
- 解决VS2015提示未能加载项目文件。缺少根元素的错误
- #笔记(三十二)#dvwa漏洞wp
- Mysql解决微信特殊符号昵称入库报错乱码
- 自学IT 必去的两个学习网站
- 关于Web的欢迎页面的开发设置
- 人民广场,上海博物馆
- (十五)深入理解蓝牙BLE之“扩展广播”
- win10+Linux18.04双系统安装
- c语言打开关闭文件的顺序,C语言1-文件概述、文件的打开与关闭、顺序读写数据文件(1).docx...