Results 1 to 8 of 8

Thread: Telnet connection...or winsock without client... is it possible? i hope

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    4

    Angry Telnet connection...or winsock without client... is it possible? i hope

    hi, I have two computers at home, both connected to the Internet, but not in lan or other connection between...

    I tried to communicate with a computer via telnet with this command:

    open 1xx.1xx.1.2xx 23

    with the right Ip address of other machine but telnet tells me: failed to connect

    how can I do to communicate with other computers via telnet?

    I then tried to make a VB6 program to communicate with winsock, but i wanted communicate with this computer without a client application which is to accept the connection... there are a way???
    thanks

  2. #2
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: Telnet connection...or winsock without client... is it possible? i hope

    How you managed to get 2 public IPs for your home PCs is amazing. Normally residents only get 1 ip address and that is NATed through a router so your PCs can share that 1 ip. Anyways, you have to check 2 things. Oh, before I go into further details, this only applies to Windows so if you're using something else then I don't know. Windows turns off telnet because it's a security risk. So you need to enable telnet in services. Then you need to allow port 23 to pass through your firewall so telnet connections can happen. Oh, and the command is usually telnet ip, not open ip.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    4

    Re: Telnet connection...or winsock without client... is it possible? i hope

    thank you very much for your reply. I have also tried to connect with a computer of my friend, knowing its IP address, but unfortunately the result is the same. He should have telnet open?
    there are no problems with firewalls because I specifically closed.
    I just wanted to know if you can connect to a computer and send commands without this is open telnet or installed a program with a winsock. Is it possible?

    thanks

  4. #4
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Telnet connection...or winsock without client... is it possible? i hope

    start here

    at command prompt type

    telnet 127.0.0.1
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  5. #5
    Fanatic Member drivenbywhat's Avatar
    Join Date
    Jan 2007
    Location
    VA - USA
    Posts
    866

    Re: Telnet connection...or winsock without client... is it possible? i hope

    Your reply confused me. Your grammar doesn't make much sense. I'll repeat what I said in my previous reply with more specifics. Telnet needs to be enabled in your services. Go to START > RUN > SERVICES.MSC and then look for TELNET and make sure it is set to STARTED & AUTOMATIC. If you don't have this set then you will never telnet to your PC. Now as far as firewalls are concerned, you either need to have your firewall disabled or you need to allow port 23, which is the port used for telnet, to pass through the firewall for INBOUND & OUTBOUND connections. Now if you want to do a simple test to see if you can even get telnet working then simply disconnect both your PCs from your modem/router/firewall. Get a switch or hub and connect them to that. Give them an ip address of 192.168.0.1 & 192.168.0.2. Try to telnet to those address from one of them.
    [vb5 & starting to move to vb2008] I appreciate the help I get from everyone. Thank you.

  6. #6
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Telnet connection...or winsock without client... is it possible? i hope

    this

    at command prompt type

    telnet 127.0.0.1

    will tell you if the telnet service is running
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

  7. #7

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    4

    Re: Telnet connection...or winsock without client... is it possible? i hope

    thanks so much!!!

    but telnet want know a login e password
    but on my computer i not have a password
    how can i open connection!?

    i'm sorry fom my english! i'm italian

    have nice day

  8. #8
    Powered By Medtronic dbasnett's Avatar
    Join Date
    Dec 2007
    Location
    Jefferson City, MO
    Posts
    9,897

    Re: Telnet connection...or winsock without client... is it possible? i hope

    what os are you using.

    in XP you can find user by
    control panel
    user accounts

    the fact that it asked for user / pass tells me that telnet is running on your machine. what about your other machine at home? did it do the same thing?
    My First Computer -- Documentation Link (RT?M) -- Using the Debugger -- Prime Number Sieve
    Counting Bits -- Subnet Calculator -- UI Guidelines -- >> SerialPort Answer <<

    "Those who use Application.DoEvents have no idea what it does and those who know what it does never use it." John Wein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width