473,472 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Connecting to a Service Listening on a Port over TCP/IP

I have a .net website and I need to connect to a service listening on a
specific port from that website. The service and website are on the same
windows 03 server. I don't know where to start on this, can someone point
me in the right direction.

Thanks.

Nov 19 '05 #1
5 1824
well, you need to know the protocol required to talk to this service. is
tcp/ip or udp? is a self defined stream protocol or is an http protocol.
connect to it with telnet, and see what you can learn. use net monitor to
dump the packets.

-- bruce (sqlwork.com)

"Bob Garbados" <bo*********@yahoo.com> wrote in message
news:bL*************@fe07.lga...
| I have a .net website and I need to connect to a service listening on a
| specific port from that website. The service and website are on the same
| windows 03 server. I don't know where to start on this, can someone point
| me in the right direction.
|
| Thanks.
|
|
|
Nov 19 '05 #2
Thanks. It's tcp/ip and I don't know if it's self defined or http. I only
know that I have to send xml to a specific port. I can't connect with
telnet to the port, does that mean it has to be opened up? Pinging the port
times out.
"bruce barker" <no***********@safeco.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
well, you need to know the protocol required to talk to this service. is
tcp/ip or udp? is a self defined stream protocol or is an http protocol.
connect to it with telnet, and see what you can learn. use net monitor to
dump the packets.

-- bruce (sqlwork.com)

"Bob Garbados" <bo*********@yahoo.com> wrote in message
news:bL*************@fe07.lga...
| I have a .net website and I need to connect to a service listening on a
| specific port from that website. The service and website are on the same | windows 03 server. I don't know where to start on this, can someone point | me in the right direction.
|
| Thanks.
|
|
|

Nov 19 '05 #3
Bruce,

I can connect to it with telnet but I can't learn anything... once the
connection opens I just see a blinking cursor, if I press a key the
connection is lost.

"bruce barker" <no***********@safeco.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
well, you need to know the protocol required to talk to this service. is
tcp/ip or udp? is a self defined stream protocol or is an http protocol.
connect to it with telnet, and see what you can learn. use net monitor to
dump the packets.

-- bruce (sqlwork.com)

"Bob Garbados" <bo*********@yahoo.com> wrote in message
news:bL*************@fe07.lga...
| I have a .net website and I need to connect to a service listening on a
| specific port from that website. The service and website are on the same | windows 03 server. I don't know where to start on this, can someone point | me in the right direction.
|
| Thanks.
|
|
|

Nov 19 '05 #4
Try the telnet like this telnet 123.123.123.123 XXXX where XXXX is the port
number where you want to connect. If the port is open you will get the
cursor and if you type something it should give you an answer.

Regards,

Renán
"Bob Garbados" <bo*********@yahoo.com> escribió en el mensaje
news:yy***************@fe07.lga...
Bruce,

I can connect to it with telnet but I can't learn anything... once the
connection opens I just see a blinking cursor, if I press a key the
connection is lost.

"bruce barker" <no***********@safeco.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
well, you need to know the protocol required to talk to this service. is
tcp/ip or udp? is a self defined stream protocol or is an http protocol.
connect to it with telnet, and see what you can learn. use net monitor to
dump the packets.

-- bruce (sqlwork.com)

"Bob Garbados" <bo*********@yahoo.com> wrote in message
news:bL*************@fe07.lga...
| I have a .net website and I need to connect to a service listening on a
| specific port from that website. The service and website are on the

same
| windows 03 server. I don't know where to start on this, can someone

point
| me in the right direction.
|
| Thanks.
|
|
|


Nov 19 '05 #5
That's exactly what I did, but the connection gets lost when I type anything
at the cursor.

Thanks.

"Renán Wug" <rw**@globalcementsa.com> wrote in message
news:uE*************@TK2MSFTNGP09.phx.gbl...
Try the telnet like this telnet 123.123.123.123 XXXX where XXXX is the port number where you want to connect. If the port is open you will get the
cursor and if you type something it should give you an answer.

Regards,

Renán
"Bob Garbados" <bo*********@yahoo.com> escribió en el mensaje
news:yy***************@fe07.lga...
Bruce,

I can connect to it with telnet but I can't learn anything... once the
connection opens I just see a blinking cursor, if I press a key the
connection is lost.

"bruce barker" <no***********@safeco.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
well, you need to know the protocol required to talk to this service. is tcp/ip or udp? is a self defined stream protocol or is an http protocol. connect to it with telnet, and see what you can learn. use net monitor to dump the packets.

-- bruce (sqlwork.com)

"Bob Garbados" <bo*********@yahoo.com> wrote in message
news:bL*************@fe07.lga...
| I have a .net website and I need to connect to a service listening on a | specific port from that website. The service and website are on the

same
| windows 03 server. I don't know where to start on this, can someone

point
| me in the right direction.
|
| Thanks.
|
|
|



Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Google Mike | last post by:
After a lot of thought and research, and playing with FreeTDS and InlineTDS, as well as various ODBC connections, I have determined that the fastest and cheapest way to get up and going with PHP on...
0
by: Tom Brown | last post by:
Hi, I created a win32 service for XPPro called N4010ATestService.py (see below). The service runs as a particular user with administrative rights. It starts a thread that creates a simple socket...
2
by: karl | last post by:
I have a windows service that kicks off a 'monitor' thread which in turn kicks off 4 additional threads. These 4 threads basically are listen on a designated socket and report back any errors...
3
by: Fredric Ragnar | last post by:
Hi, I am making a prototype system with Remoting in the bottom of the system. An XML Web Service is using the remote object on an IIS to present data. I am using a TcpChannel for communicating...
2
by: Ankit Aneja | last post by:
I am making windows service using Microsoft visual studio.Net in C# service name is clamservice problem is that when i start the service it through control pannel->Administrative tools->services...
9
by: RvGrah | last post by:
After much hair-pulling, I've finally found the answer to a problem that many are fighting with, difficulty connecting from Sql 2005 Server Management or VS2005 to a remote Sql Server running Sql...
3
by: jwpaco | last post by:
I am new to services and I have quite the task. I need a windows service that will, once started, open a socket and listen for client connections. When a connection is made, the client will want...
2
by: Sourcerer | last post by:
I posted these on another group, but was redirected here, so here are my two posts and my questions: Post #1: I've started my first practice windows service project in C#, and I'm already...
6
by: paal.andreassen | last post by:
I have a problem. I have two instances of a client-server application running on two different machines A and B. A has a listening service, that listens for connections from B B has a listening...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.