Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8135051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:16:42+00:00 2026-06-06T10:16:42+00:00

My program connects to an IRC room on freenode.net, it uses port 6667, apparently

  • 0

My program connects to an IRC room on freenode.net, it uses port 6667, apparently that port is blocked in my college so the project doesn’t work there (I wish I had known that before I proposed that one, but it’s due the next week so I can’t make a new project now). I read that it was possible to tunnel that connection, but I’m not sure how to do it.

I read I had to use an SSH library but I can’t find one that helps me tunneling the connection using a socket.

I found a package called ssh in MindTerm but a really old one, that basically does the process (I think) using these lines:

SSHSocketFactory fact = new SSHSocketFactory("ssh.freessh.biz", 22, new SSHPasswordAuthenticator("freessh", "7QO5dkmg<"));

ventanachat.socket = fact.createSocket(servidorirc, puerto);

It gives me: java.io.IOException: MindTerm do not support SSHv2 yet, enable SSHv1 compatibility in server

So I tried a new version that has ssh2 support, but I just can’t get the same process since classes are different here and there’s no documentation.

The socket is basically Socket socket = new Socket (“irc.freenode.net”, 6667);

I am wondering what library could I use, and how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T10:16:44+00:00Added an answer on June 6, 2026 at 10:16 am

    You are liable to get into trouble for circumventing blocks of the IRC port.

    I’ve got another idea. Download and install IRC server software on the machine you are doing development on. Then you should be able to connect to it from your client without anything blocking the port. (And if you still run into port problems, just configure the client and server use a different one.)


    Alternatively, look at the answers to this SO question: Simple SSH Tunnel in Java

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a client program written in .NET 2.0, that connects to the web
I'm writing a program that uses JDBC and connects to a database and does
I am working on a project that a program in an android phone connects
I have a Java program that connects to a webserver using SSL/TLS, and sends
I have a java program that connects to a MySql database and it's working
I'm working on a program that connects to different brands of plc's and therefor
I need to capture the remote addresses that a program connects to and the
I'm making a program that connects to a website and downloads XML from it.
I have a program that connects to an Oracle database and performs operations on
I am writing a program that connects to a web host that has a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.