Wireshark FATAL ERROR: Network error: Connection refused

Moderator: mike

Post Reply
deepak
Posts: 2
Joined: Fri Jun 09, 2017 7:49 am

Wireshark FATAL ERROR: Network error: Connection refused

Post by deepak » Fri Jun 09, 2017 7:55 am

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

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by Uldis (UD) » Fri Jun 09, 2017 8:05 am

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.

deepak
Posts: 2
Joined: Fri Jun 09, 2017 7:49 am

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by deepak » Thu Jun 15, 2017 6:32 am

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.

Uldis (UD)
Posts: 5084
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by Uldis (UD) » Thu Jun 15, 2017 7:59 pm

find me in skype group:
uldisd.poisonfish

lets see what is wrong..

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

legnica69
Posts: 3
Joined: Sun Oct 08, 2017 1:49 am

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by legnica69 » Sun Oct 08, 2017 1:55 am

got same issue, any solution ?

ramindia
Posts: 409
Joined: Sun Mar 19, 2017 10:27 pm

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by ramindia » Sun Oct 08, 2017 7:39 am

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!

legnica69
Posts: 3
Joined: Sun Oct 08, 2017 1:49 am

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by legnica69 » Sun Oct 08, 2017 7:44 am

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

ecze
Posts: 533
Joined: Wed Mar 15, 2017 1:54 pm

Re: Wireshark FATAL ERROR: Network error: Connection refused

Post by ecze » Mon Oct 09, 2017 2:59 pm

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.

Post Reply