I am new to ethereum blockchain. I want to create ICO platform based website. I have created smart contract and deployed on rinkeby test network. I used python web3.py library to integrate python with solidity.

I am using python django web framework as frontend. I created a instance of solidity compile file in python. And use this instance to retrieve smart contract data. And shows these data on template. It all functionality done with ganache local blockchain.

When I deployed smart contract on rinkeby test network. So I change my web3 HTTP provider to IPC provider in python file.

So In that case I deploy Django functionality on AWS server. I find error with IPC provider. Because geth.ipc file missing on server.

So I have Query regarding it:-

Query 1:- How to give geth web3 IPC provider in python file when I deployed on AWS server??


  • Please reduce this to a single core question. (You can ask separate questions in a different post)
    – carver
    Commented Oct 16, 2018 at 18:59
  • Hi Carver, I updated my question. Please check. Commented Oct 17, 2018 at 4:03

1 Answer 1


If your ethereum node is running on a different VM from your web3 service (Django in this case), then you cannot use IPC. IPC is only available over the local file system.

Check out the WebsocketProvider or HTTPProvider, instead. Both of them can connect over a network.

Be security-conscious! Any time your node is available over a network, there is a risk that someone can access your funds, or DoS your node

  • Thanks Carver for answering. So is there any solution how I increase my security of fund. Commented Oct 18, 2018 at 8:37
  • I highly recommend hiring a security expert.
    – carver
    Commented Oct 18, 2018 at 18:03
  • Hi Carver.. Which url give in HttpProvider when I connect geth ethereum node with rinkeby test network. Commented Oct 19, 2018 at 7:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.