Page 1 of 1

Wireshark FATAL ERROR: Network error: Connection refused

Posted: Fri Jun 09, 2017 7:55 am
by deepak
after starting the nodes and tried to capture my interface but the error i got is below

"Connecting to "root"@192.168.230.129..."
FATAL ERROR: Network error: Connection refused

the username and password in the .bat file is correct
disable my firewall and security also

kindly provide the solution

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Fri Jun 09, 2017 8:05 am
by Uldis (UD)
root password must be used in the wireshark_wrapper.bat.

Your output showing only that you have wrong settings. Or Wireshark is crashed, try reinstall wireshark, and reg file.
in the bat file.

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Thu Jun 15, 2017 6:32 am
by deepak
thanks for reply,

but i have not change any default settings in EVE or Wireshark
----------IT is as default ------------------
@ECHO OFF
SET USERNAME="root"
SET PASSWORD="eve"

SET S=%1
SET S=%S:capture://=%
FOR /f "tokens=1,2 delims=/ " %%a IN ("%S%") DO SET HOST=%%a&SET INT=%%b
IF "%INT%" == "pnet0" SET FILTER=" not port 22"

ECHO "Connecting to %USERNAME%@%HOST%..."

"C:\Program Files\EVE-NG\plink.exe" -ssh -pw %PASSWORD% %USERNAME%@%HOST% "tcpdump -U -i %INT% -s 0 -w -%FILTER%" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -
---------------------------------------
and i have tried reinstalling the EVE-NG and the same error I get. the EVE-NG log also shows the installation is successful.

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Thu Jun 15, 2017 7:59 pm
by Uldis (UD)
find me in skype group:
uldisd.poisonfish

lets see what is wrong..

https://latest-join.skype.com/IX4vRGQiq6S3

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Sun Oct 08, 2017 1:55 am
by legnica69
got same issue, any solution ?

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Sun Oct 08, 2017 7:39 am
by ramindia
legnica69 wrote:
Sun Oct 08, 2017 1:55 am
got same issue, any solution ?
Rather saying you have same issue, can you explain what steps you followed to fix the issue. ( always suggest to open a new thread with your problem with more inputs)

So we can guide you or suggest you to fix the issue

R!

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Sun Oct 08, 2017 7:44 am
by legnica69
all mentioned above steps did not work! check name and password in bat file, run putty.reg and wireshark .reg. windows 7 64 bit. installed wireshark from C:\Program Files\EVE-NG , updated to new wireshark version . nothing....

try laptop with win 7 64, same thing. 2 machines , no go

Re: Wireshark FATAL ERROR: Network error: Connection refused

Posted: Mon Oct 09, 2017 2:59 pm
by ecze
Connecting to "root"@192.168.230.129..."
FATAL ERROR: Network error: Connection refused

the username and password in the .bat file is correct
disable my firewall and security also

kindly provide the solution


This means to be clear:
Issue:
TCP connect is impossible from your machine to EVE server
Solution:
Find what is blocking your connection
Some possibilities:
- a firewall on the path
- an antivirus filtering tcp connection or process
- Windows integrated firewall ( tcp connection or process )
- ufw on eve if you did some unsupported customization

The process used to connect EVE for wrapper is 'plink.exe' not putty.exe

E.

PS: EVE is NOT involved in this issue at all.