It is currently Sat Dec 07, 2019 5:29 am


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Cannot 'Test Dynamips': port in use
PostPosted: Sat Dec 08, 2012 1:41 am 
Offline

Joined: Sun Sep 18, 2011 9:15 pm
Posts: 5
Hello,

I just reinstalled GNS3 and I'm unable to test Dynamips (one of the first steps you do to setup GNS3). It tells me that a console port is already in use. How do I check what could possibly be using this console port?

http://i.imgur.com/VtTsL.png




Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Sat Dec 08, 2012 10:48 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
From a command prompt try running
Code:
netstat -anb

You should get a rather long list of ports that are in use, and if possible the program with which they are associated

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Sat Dec 08, 2012 5:05 pm 
Offline

Joined: Sun Sep 18, 2011 9:15 pm
Posts: 5
Thanks for the helpful command, however, this command is only showing me tcp/udp ports. Any idea for console?

Thanks


Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Sat Dec 08, 2012 7:24 pm 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
The way Dynamips/GNS3 works is by directing the console to a TCP Port. This is a snippet from my machine with one router in GNS3, which shows the Dynamips Process has created the console port using port 2001.
Code:

Proto   Local Address          Foreign Address     State
TCP    127.0.0.1:2001         0.0.0.0:0              LISTENING
[dynamips-0.2.8-RC4-community.exe]

If when you run the netstat command you see a program other than Dynamips listed under your base console port, then that is what is stopping Dynamips from working correctly. You could then change the console base port to another value in GNS3 preferences.

If the process is shown as Dynamips it is possible that another instance of Dynamips hasn't shut down correctly. So try closing GNS3 and making sure that no Dynamips processes are shown in Task Manager.

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Sat Dec 08, 2012 10:49 pm 
Offline

Joined: Sun Sep 18, 2011 9:15 pm
Posts: 5
Brilliant!

So the guilty party here was LogMeIn which uses TCP port 2002 to listen on. This actually explains alot because I remember a few months ago I could never console into the 2nd router I made. It probably broke once I installed LogMeIn. Now I just need to figure out how to change that port for LogMeIn, but thats an adventure of its own.

Thanks for your help!


Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Sun Dec 09, 2012 10:10 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
That's rather interesting that this hadn't cropped up more often, given the widespread use of LogMeIn. I think it's probably going to be easier to change the base console port in GNS3, e.g. set it to 2005 for example.

Edit: Just found some info here: http://jpan613.wordpress.com/2011/12/20/gns3-and-logmein-are-fighting-for-port-2002/

Quote:
To change the port number, go to regedit->HKLM->Software->Logmein->V5->Net->ListenPort

_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
 Post subject: Re: Cannot 'Test Dynamips': port in use
PostPosted: Mon Dec 10, 2012 6:40 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Hi,

I think I will choose 2101 as the default base console port in the next release.



_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO