Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この行で UnknownHostException を回避するにはどうすればよいですか。
TransportMapping transport = new DefaultUdpTransportMapping();
SNMP4J 2.2.0 API を使用し、複数のスレッド (スイッチごとに 1 つのスレッド) を使用しています。
OK、電話してこれを修正しました
スレッドごとに 1 回だけ。50 スレッドでも問題なく動作します。
私の推測では、networkIf / OS / Java が利用可能なポートから外れていた