Open The Specific Port Of A Windows Computer?

Jan 15, 2010

I tried to make a winsock program.But when i run, i have a SocketException "No connection could be made because the target machine actively refuse it."Any suggestions on what i should do? Im using 17477 port.By the way Im using my own computer to test it. So i have no idea why.How should I open this specific port in my own computer?

Is it possible that I could include it to could into my program so that i don't need to open the ports of each computer? Below is my code.

[Code]...

View 6 Replies


ADVERTISEMENT

TCP Protocols - Sending Command To Specific Port On Same Computer

Mar 10, 2011

I am working on writing a program that needs to send a command to a specific port on the same computer, I have that working fine. There is another piece of software running that is listening to that port for some commands (read on).
Dim myTcpClient As New TcpClient
myTcpClient.Connect("127.0.0.1", 61225)
Dim networkStream As NetworkStream = myTcpClient.GetStream()

However when I try to send a command I get no response...
Dim outStream As Byte() = System.Text.Encoding.ASCII.GetBytes("0x33")
networkStream.Write(outStream, 0, outStream.Length)
networkStream.Flush()

I have been given a list of protocols that I need to send to that port. What I have been told is that the size (in byes) is 1 and the value is "0x33" with no parameters. I am completely new to sockets and sending data through tcp.

View 7 Replies

VS 2010 Check If A Specific Port Is Open?

Jul 13, 2010

I want to check if a specific TCP Port of an IP address is open.

How can I realise that?

View 12 Replies

Open Port 433 In Windows?

Apr 1, 2010

how can i open port 433 in my windows

i don't want any code just i want to open open it

View 2 Replies

Simple Code In Vb To Open / Close USB Port (Windows 7)?

Jun 11, 2011

I need to simple code in Vb.Net for Open / close USB Port (Windows 7) ...

View 7 Replies

Detect The Address And Port Number Of The Parallel Port In Computer?

Jun 9, 2010

I would like to detect the Address and Port number of the Parallel Port in computer.

View 4 Replies

Open A Windows Explorer Window With A Specific Folder Selected?

Jun 30, 2011

I have a winform application and this winform application has created few files. I want to implement "find target" function in my application to show those files. Those files located in a same folder. See the picture:Let's say that I have created few files in "C:Test" folder and this folder has this file: "C:TestFile1.txt". How to create "find target" functionality using VB.NET?

View 2 Replies

Lookup For A Specific Computer Given Ip Or Computer Name ... Retrieve The User Logged On

May 21, 2010

how can i look up for a specific computer given ip or computer name ...retrieve the user logged on..

View 2 Replies

Get FullName From Available Serial Port (Com Port) From Device Manager In Windows Form With .net?

Jul 25, 2011

I have a Windows form.in windows form have a combo box that give me a list of available port serial with it code (Dim ports As String() =SerialPort.GetPortNames())for example( Com1,Com8,Com15,...).but I want to give me fullname of serial port in device manager for example in dvice manager is these (Comunication Port(COM1) - Printer Port(LPT1) And USB Serial Port(COM8)).how to Get it?

View 2 Replies

Access The Data Coming To The Computer From The In-built Bluetooth Module Of A Computer On Windows Platform?

Feb 4, 2011

i have encountered a problem, i want to access the data coming to the computer from the in-built bluetooth module of a computer on windows platform, this data has been sent by a remote bluetooth module say a by an autonomous device (just like a bluetooth mouse connecting to the computer). The to be sent is in the form of numbers and i need these to manipulate on the computer.

View 6 Replies

VB - Desktop Computer With Cable Connection On Back Allows To Watch TV On Computer Using Windows Media Center

Jun 12, 2010

I have a desktop computer with a cable connection on the back that allows me to watch TV on the computer using Windows Media Center. I had the idea of writing a program that would access this feed and send it to another computer (laptop) via my network. That way I would be able to watch TV from anywhere that my network spans. I have no idea if this is possible or how I would even do it,

So I have three questions.
1: Is it possible?
2: How would I go about access the feed?
3: How would I send it over the network?

My original thought was doing it in Flash, but I'm not very good at Flash so I wanted to do it in VB.Net.

View 2 Replies

Find Out Port From Switch Of Computer

May 26, 2010

ok i got a hard question I have diferent computers, lets say 200 cps with all known mac address. i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address... some computer arent in the domain. how could i start puttin this into code

View 1 Replies

Find Out What Port Of What Switch Its The Remote Computer

Jun 22, 2010

I have different computers, lets say 200 cps with all known mac address. i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address. some computer aren't in the domain. how could i start putting this into code.

View 1 Replies

Sending Data Into VB Through A Serial Port On Computer?

May 2, 2009

I am sending data into VB through a serial port on my computer, from a microcontroller. The data enters VB in an ASCII form, but I need it as a number. I can use the Asc command to convert numbers 0-127 however after this it dosent work. I believe this is becaus the ascii character map only goes through 127. So how can I convert the rest of the data (128-256) to a numbers?

View 3 Replies

VS 2008 Find Out What Port Of What Switch Its The Remote Computer?

May 25, 2010

ok i got a hard question I have diferent computers, lets say 200 cps with all known mac address.

i got 3 switches with 24 ports each. i want to know if i can be able to know the port No. and switch of a given computer given the mac address.some computer arent in the domain.

how could i start puttin this into code

View 9 Replies

Print To A Specific USB Port?

Dec 29, 2009

im a independent programmer and my most recent job has me doing somthing ive never had to work with before and i was hoping to get a few answers here or be pointed in the right direction

question 1

is there a way to print to a specific USB port in VB if so links to reading material or better yet code

question 2

is there a way to program to open and send and recieve information from a USB port lpt port and a serial port using VB

and if so can i again be directed to some reading material or better yet code

i understand these are not typical questions but they are a small part of a bigger whole that we are trying to implement while we look into using Vb as the language we will use

View 2 Replies

Forms :: Transparency Key / Unable To Successfully Port Application To Another Computer

Aug 18, 2010

I created a background image for the form with rounded corners. I filled the outer edges and empty space with Lime color (00FF00) and then set the same transparency key in the properties for my form. It worked well, the edges were transparent and the form appeared round-edged. This was accomplished with Visual Studio .NET 2005 on Microsoft Windows Vista Home Premium 64-bit.The very same application was ported to a different platform. Visual Studio .NET 2005 on Microsoft Windows XP Professional 32-bit. All the settings are the same and nothing has been changed. But the transparency effect is not appearing on the Windows XP platform.

View 5 Replies

Tell When Remote Computer Is A Windows Computer?

May 3, 2010

We have an VB.NET VS 2005 application that goes out and connects to remote computers on the network to gather information about the running services, processes, etc.

However, not all of the computers and servers are Windows boxes, and this is causing us some grief.

Is there a way in VB .NET to determine if a computer is running a Windows OS before trying to make a connection to it?

View 6 Replies

TCPListener - Listen To Particular IP On Specific Port

May 26, 2009

How can I ask my tcpListener to listen to particular IP on specific port? I want my tcpListener to listen to the local IP of the machine. I can get the ipaddress of the pc using Dns.GetHostAddresses(). But, if pc have multiple ip's how can I know which ip address is correct? From tcpClient class I am connecting to the server. So, I know the server ip and so I want to specify ipaddress to my tcpListener class to listen on.

View 1 Replies

Checking If A Port Is Open - If It Is Open Then Return True, If It's Closed, Return False?

Dec 28, 2010

I'm making a Visual Basic GUI application to display whether a number of my ports are open for people to know whether things like my website and my Minecraft server are open.My problem is I have absolutely no idea how to do this in Visual Basic.Basically, I'm asking for something which sends a signal to an IP with a specific port, if it is open then return true, if it's closed, return false. Similar to: http:[url]....

View 1 Replies

Getting Specific Directorys Using My.computer

Aug 9, 2010

Whats the best practice to get special direcorys?? I know i could use

[Code]...

View 2 Replies

C# - Send And Receive A Tcp Message To A Specific IP/Port In .NET?

May 18, 2011

I'm trying to send a message to a specific IP/Port and receive a reply in an ASP.net website, i tried the method describd at the following link but it didn't work for me as you can see SocketException An attempt was made to access a socket in a way forbidden by its access permissions

View 1 Replies

How To Determine If A Specific Framework Is On A Computer

Feb 23, 2010

How can I programmatically determine if .net 2 or any other .net framework is on a computer?

View 4 Replies

Obtain The Mac Address Of A Specific Computer?

Jan 29, 2009

I've searched and seen alot of posts about obtaining the mac address of computers but I'm not sure if I understand completely or if those are the ones I need.

I am needing to obtain the mac address of a specific computer via an ip address. Most of what I've seen returns to me an array or list of items.

View 6 Replies

C# - Open And Use A TCP Port?

Jan 17, 2012

I need to transfer data between several computers in a network using my app. I thought of using TCP ports. how to open and use them? I only want to make a file transfer and chat app that works offline.

View 3 Replies

Communications :: Chat Program - Debug LAN Messenger - Computer Actively Refused The Connection On IP/Port" And Then Crashes

Jan 17, 2009

I have a simple chat program i have made, it works but with a few errors.

1st if it can't find the physical pc it is trying to connect to it crashes.

2nd if it finds the physical server but not the program (server) running it says "the computer actively refused the connection on IP/Port" and then crashes.

Code for connect button:

IP = txtboxip.Text
Port = txtboxport.Text

[CODE].....................

View 11 Replies

C# - Force Application To Use A Specific IP Address From Running Computer?

Dec 4, 2011

I have a server (server A) that has several public IP addresses. I am building a desktop application that will run on server A to fetch data from another server (server B) using the httpwebrequest class.

What I would like to do is be able to programatically direct the application to use a specific IP address from the one the server (A) has.

View 2 Replies

Open All Serial Port?

Jun 9, 2011

how to open all serial port in vb.net? i know how to open by getportname..but how to open all??can we do it?

View 2 Replies

Application That Opens A Session To A Specific IP Port / Writes To A Test File Everything It Receives

Feb 20, 2009

I've had a search through a number of extremely useful articles on the forums, however rather than reinvent the wheel I thought I would ask if anyone already had what I am looking for..A simply little VB app that opens a session to a specific IP port and then writes to a test file everything it receives. If the connection drops, simply re-stablish it and keep listening for text to write to the file.

View 1 Replies

Get The Music File From A Specific Folder From Computer And Putting It Into A Listview?

Jun 7, 2011

I'm currently developing a download manager and converter for audio and video files. Does anyone know how can I get the music file from a specific folder from my computer (I already used openfiledialog) and putting it into a listview?

e.g.
FILE NAME FILE TYPE
Born this way.mp3 MP3

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved