使用EMQX最新开源windows版的时候,我在控制网络的地方创建了端口转发,把1883转发到了18883,但是还是不能在外网访问,只能在内网访问1883端口
看起来是需要检查网络相关的问题,应该和 EMQX 软件本身没有关系的
但是我转发出去的别的服务端口都是正常的
我遇到了相同的问题,并且使用activeMQ验证了端口是可用的
有相关的报错么,我可以拿去问问 GPT,感觉和EMQX本身关系不大。
2023-09-13T10:43:57.646000+08:00 [error] Generic server emqx_telemetry terminating. Reason: {‘module could not be loaded’,[{memsup,get_system_memory_data,,},{emqx_telemetry,vm_specs,0,[{file,“emqx_telemetry.erl”},{line,419}]},{emqx_telemetry,get_telemetry,1,[{file,“emqx_telemetry.erl”},{line,354}]},{emqx_telemetry,report_telemetry,1,[{file,“emqx_telemetry.erl”},{line,365}]},{emqx_telemetry,handle_info,2,[{file,“emqx_telemetry.erl”},{line,190}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,1123}]},{gen_server,handle_msg,6,[{file,“gen_server.erl”},{line,1200}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]}. Last message: {timeout,#Ref<0.2591768480.2657878017.168971>,time_to_report_telemetry_data}. State: {state,<<“5D03DC6A-51DF-11EE-B57B-F706B36280A9”>>,<<“5D03E46C-51DF-11EE-8939-CFD9768D5716”>>,“https://telemetry.emqx.io/api/telemetry”,604800000,#Ref<0.2591768480.2657878017.168971>,#{}}.
2023-09-13T10:43:57.646000+08:00 [error] crasher: initial call: emqx_telemetry:init/1, pid: <0.3050.0>, registered_name: emqx_telemetry, error: {undef,[{memsup,get_system_memory_data,,},{emqx_telemetry,vm_specs,0,[{file,“emqx_telemetry.erl”},{line,419}]},{emqx_telemetry,get_telemetry,1,[{file,“emqx_telemetry.erl”},{line,354}]},{emqx_telemetry,report_telemetry,1,[{file,“emqx_telemetry.erl”},{line,365}]},{emqx_telemetry,handle_info,2,[{file,“emqx_telemetry.erl”},{line,190}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,1123}]},{gen_server,handle_msg,6,[{file,“gen_server.erl”},{line,1200}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]}, ancestors: [emqx_telemetry_sup,<0.3048.0>], message_queue_len: 0, messages: , links: [<0.3049.0>], dictionary: , trap_exit: true, status: running, heap_size: 6772, stack_size: 28, reductions: 16161; neighbours:
2023-09-13T10:43:57.647000+08:00 [error] Supervisor: {local,emqx_telemetry_sup}. Context: child_terminated. Reason: {undef,[{memsup,get_system_memory_data,,},{emqx_telemetry,vm_specs,0,[{file,“emqx_telemetry.erl”},{line,419}]},{emqx_telemetry,get_telemetry,1,[{file,“emqx_telemetry.erl”},{line,354}]},{emqx_telemetry,report_telemetry,1,[{file,“emqx_telemetry.erl”},{line,365}]},{emqx_telemetry,handle_info,2,[{file,“emqx_telemetry.erl”},{line,190}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,1123}]},{gen_server,handle_msg,6,[{file,“gen_server.erl”},{line,1200}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,240}]}]}. Offender: id=emqx_telemetry,pid=<0.3050.0>.
这些报错一开启broker就有不知道有没有关联
使用ActiveMQ时端口监听是这样的
使用emqx时端口监听是这样的
您好,这个报错,我们已经在修了哈。
你可以通过在emqx.conf 里面最后加上
telemetry.enable=false
来避免它。
麻烦填加好,启动后,也有命令看看emqx的端口占用情况。
没有报错了,但是端口占用情况还是没改变
还是不行,端口映射是用的linux服务器上的firewalld映射的