Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster Tony John
Online Members
srirama
sridhar
More...
Forums
»
.NET
»
WCF
»
How to check port number of WCF running testservice?
Posted Date:
14 Nov 2011
Posted By::
dhanu
Member Level:
Silver
Member Rank:
2398
Points
: 4
Responses:
4
Hi all,
I am new to WCF.
I have created a Console application in WCF service.
After all self hosting ,i tesed in console,its working fine.
But, my problem is,i want to know wheather my service is running or not
ie,if i given the address for PORTNO:7001.
I WANT TO SEE THE MY SERVICE IS RUNNING IN 7001 PORT.For that i used Vs.Net command prompt and use : " C:\users\lucky>netstart -a "
but its showng error.
thanks and regards
Sahhu
Tweet
Responses
#641888 Author:
Asheej T K
Member Level:
Diamond
Member Rank:
2
Date: 14/Nov/2011 Rating:
Points
: 2
Hi,
Can you tell me the error you are getting when yo execute this command. It should display all the port details if you have proper permission to execute the code. If you can post the error we will be able to help you.
Regards,
Asheej T K
Microsoft MVP[ASP.NET/IIS]
DotNetSpider MVM
Dotnet Galaxy
#641898 Author:
dhanu
Member Level:
Silver
Member Rank:
2398
Date: 14/Nov/2011 Rating:
Points
: 1
C:\users\lucky>netstart -a
'netstart' is not recognized as an internal or external command,operable program or batch file
#642014 Author:
Vidhya
Member Level:
Gold
Member Rank:
0
Date: 15/Nov/2011 Rating:
Points
: 4
Hi,
It may be occurred since your path is not set correctly. Look for the following file:
c:\windows\system32\netstat.exe
If it is there, get to the command prompt, CD your way to c:\windows\system32 and run netstat from there.
The -a option shows all connection, as opposed to just the active ones. It won't stop you running the command.
To see what your path is set too, enter command:
echo %PATH%
or go to :
Control Panel->System->Advanced->Environment Variables
Hope it may help you!!!
Regards,
Vidhya
#642096 Author:
dhanu
Member Level:
Silver
Member Rank:
2398
Date: 15/Nov/2011 Rating:
Points
: 1
hi vidhya,
Thanks for your answer,but its not give any solution to me,as i said my first post that i m developed a WCF console application for testservice.Its running in my given address(http://localhost/7001).Its working fine and my service is running and i m getting result also,but real problem is i want to see wheather my service is running on same(7001)port or not
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
'System.ServiceModel.ServiceHost.ServiceHost()' is inaccessible due to its protection leve
Previous :
Wcf interview questions
Return to Discussion Forum
Post New Message
Category:
Related Messages
Pls tell me diference between Webservices and Windows Communication Foundation.(WCF)
WPF,WCF,WWF - .NET 3.0
wcf
how to create WCF CHAT appliications..urgent plz
WCF [or] Indigo
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
Ultimaterengan
(42)
Priya jain
(21)
srirama
(20)
Last 7 Days
baskar
(312)
naveensanagase...
(183)
Asheej T K
(179)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds