cutter-jupyter icon indicating copy to clipboard operation
cutter-jupyter copied to clipboard

Errno 99 : socket not binding when also using certain VPN clients

Open alfarom256 opened this issue 6 years ago • 3 comments

Work environment

Questions Answers
OS/arch/bits (mandatory) Debian, amd64, Kali 2018v1(Debian 4.14.12-2kali1) x86_64
File format of the file you reverse (mandatory) N/A
Architecture/bits of the file (mandatory) N/A
Cutter and r2 version, See About Cutter (mandatory) 1.4 AppImage

I know this is not necessarily a problem with the application itself. Would it be possible to allow configuration to bind to standard, alternative http ports such as 8080, etc? Since I have not build from source and don't want to tinker with and then recompile the AppImage, I will change my VPN configuration.

It's really not a huge issue (or very much of one at all), but I thought I'd create one just as a heads up in case anyone in the future runs into the same thing.

stack trace: https://gist.github.com/alfarom256/5e99f2a2eb905806e933800d1116386c netstat (-tulpn) during error: https://gist.github.com/alfarom256/861e11c75a2ff1288cce68358510947a

alfarom256 avatar Jun 19 '18 21:06 alfarom256

Also, cutter is awesome. Thanks, all.

alfarom256 avatar Jun 19 '18 21:06 alfarom256

Hi,

I ran into the same issue (although for different reasons) and you can work around it without touching the AppImage file.

The problem is the default configuration for the embedded Jupyter notebook, but these parameters can be overriden adding a Jupyter configuration file in your home directory.If you have standalone Jupyter installed you can generate a default configuration file by doing:

$ jupyter-notebook --generate-config

This will generate this configuration file in your home with all the default settings:

~/.jupyter/jupyter_notebook_config.py

In this file you can then remove the comment from the setting you want to override and edit the value (in my case I needed to change the ip address to 127.0.0.1 instead of the default localhost). In your case I guess you want to change:

#c.NotebookApp.port = 8888

Cheers

icot avatar Nov 15 '18 09:11 icot

Jupyter is no longer a core part of Cutter but a plug-in. https://github.com/radareorg/cutter-jupyter

ITAYC0HEN avatar Apr 15 '19 12:04 ITAYC0HEN