标签:https tst 图片 rabbit adf method 参考 put height
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:288)
at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:91)
at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:164)
at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:578)
at java.lang.Thread.run(Thread.java:745)
这个问题百度了很多说是权限问题,我权限配的没问题,但犯了一个不了解的错误。
单纯从网上参考别人的配置
我当时认为port=5672写错了,应该写成RabbitMQ请求web的端口15672(太无知),所以一直请求失败,后来才发现服务请求就是要用port=5672,而不是15672,记录一下,不知道有没有人跟我一样,哎。哎。。。。
Spring cloud config 客户端连接RabbitMQ 报 socket closed
标签:https tst 图片 rabbit adf method 参考 put height
原文地址:https://www.cnblogs.com/lixiaochong/p/13592822.html