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 8936633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:15:22+00:00 2026-06-15T10:15:22+00:00

I am trying to write a script where I make a connection through Tor

  • 0

I am trying to write a script where I make a connection through Tor in Python. I can currently connect to Tor and request a new ip NEWNYM but I seem to get stuck at sending data. The data never gets received.

and the connection is never made by Tor to the resultant address.

No connection is ever made… I have tried numerous things for about 5 days now. I would appreciate any help anyone can provide

*cheers

  • 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-15T10:15:23+00:00Added an answer on June 15, 2026 at 10:15 am

    I highly recommend SocksiPy. It is extremely easy to use, and once you’ve established a connection it works just like a regular TCP socket. Here is a brief sample from their SourceForge page:

    >>> import socks
    >>> s = socks.socksocket()
    >>> s.setproxy(socks.PROXY_TYPE_SOCKS5,"socks.example.com")
    >>> s.connect(("www.example.com",80))
    >>> 
    

    I have used it in several large projects with no problems. It may not be exactly what you are looking for if you will regularly need to interact directly with the SOCKS5 server (and even then, it will probably be able to do what you need), but in the vast majority of cases SocksiPy is more than sufficient.

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

Sidebar

Related Questions

I'm trying to write a script to make generating Lift projects quicker but I
I am currently trying to write a script that will loop through multiple directories.
I'm trying to write a shell script that will make several targets into several
I'm trying to write a JS script using Lime.js to make an animation walk
I'm trying to write a Python script which takes a special type of file
I'm trying to make a HTTP request from a Adobe Illustrator Script (this question
I'm trying to write a Makefile for a python script, that will create a
I am trying to make my python script very user friendly, so I like
I'm trying to write a script in powershell that i can use to get
I'm trying to write a script notify-finish that can be prepended to any command.

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.