GitHub user Yser2025 added a comment to the discussion: Open file from console

Thanks, I solve problem!

```
$ od --endian=big -N 4 -i ~/.netbeans/27/lock
0000000       36049
0000004

$ ss -lnp | grep 36049
tcp   LISTEN 0      50                                          [::1]:36049     
          [::]:*    users:(("java",pid=837639,fd=24))

$ curl localhost:36049 -v
*   Trying 127.0.0.1:36049...
* connect to 127.0.0.1 port 36049 failed: В соединении отказано
*   Trying [::1]:36049...
```

My firewall for ip v4 is clean and not for ip v6. But Netbeans listen ipv6 by 
default...
```
$ sudo ip6tables-save 
# Generated by ip6tables-save v1.8.9 (nf_tables) on Thu Nov 13 08:41:35 2025
*filter
:INPUT DROP [171072:31931912]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1548:165484]
COMMIT
# Completed on Thu Nov 13 08:41:35 2025
```

I allowed connections within localhost and the hook started working again:
```
$ sudo ip6tables-save 
# Generated by ip6tables-save v1.8.9 (nf_tables) on Thu Nov 13 08:43:17 2025
*filter
:INPUT DROP [23:4485]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1588:168563]
-A INPUT -s ::1/128 -d ::1/128 -j ACCEPT
COMMIT
# Completed on Thu Nov 13 08:43:17 2025
```

GitHub link: 
https://github.com/apache/netbeans/discussions/8983#discussioncomment-14953421

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to