()
| 1 | import WebpackDevServer from "../../../lib/Server.js"; |
| 2 | |
| 3 | const logInternalIPs = async () => { |
| 4 | const localIPv4 = WebpackDevServer.findIp("v4", false); |
| 5 | const localIPv6 = WebpackDevServer.findIp("v6", false); |
| 6 | |
| 7 | console.log("Local IPv4 address:", localIPv4); |
| 8 | console.log("Local IPv6 address:", localIPv6); |
| 9 | }; |
| 10 | |
| 11 | logInternalIPs(); |