Cannot assign requested address: getsockopt

我是用pycharm连接内网服务器出现bug(无法连接到远程主机: java.net.BindException: Cannot assign requested address: getsockopt),但是在vscode或者终端连接是正常使用的

0
Does it help if you add -Djava.net.preferIPv4Stack=true in Help | Edit Custom VM Options and restart the IDE?
Otherwise, you might change your VPN settings by contacting the VPN vendor.

More info, please check: https://youtrack.jetbrains.com/issue/IJPL-158144
0

Hello! The issue you're experiencing might be related to PyCharm's network settings or compatibility with your VPN. Try adding `-Djava.net.preferIPv4Stack=true` in the "Help | Edit Custom VM Options" and restart the IDE, as this forces Java to use the IPv4 stack and could help avoid certain IPv6-related network issues. If the issue persists, I recommend contacting your VPN provider to check if any VPN settings need to be adjusted. You can also refer to the provided link for more details and potential solutions.

More info, please check: https://youtrack.jetbrains.com/issue/IJPL-158144Basketball Legends

0

你好, 试试菜单 Help | Edit Custom VM Options 添加  -Djava.net.preferIPv4Stack=true 然后重启IDE是否有帮助? 如果你使用的VPN, 可以咨询VPN提供商如何设置. 更多信息参考此BUG报告: https://youtrack.jetbrains.com/issue/IJPL-158144

0

请先登录再写评论。