So, I have a website, and that website is going to use Bitcoins. Right now, I'm trying to connect the bitcoin core with the website.
But I have a lot of issues with port 8333:
The bitcoin core I have is on a Linux VPS.
The thing is, I have to be able to connect the website to the bitcoin core, so I have this code in PHP:
include('c.bitcoin.php'); $bitcoin = new Bitcoin('root','MY PASS','MY VPS SERVER','8333'); $address = $bitcoin->getnewaddress('Test'); die($address);
That code works on Localhost, without using the VPS Server Just 127.0.0.1 which means it creates the address :), But when I'm trying to connect it to the bitcoin core that is on my VPS, it doesn't work.
I could open the bitcoin core if I change the rpcport on the bitcoin.conf to another port, like instead of using 8333, we are going to use 8332: http://prntscr.com/i34vni
And now, we check the node: http://prntscr.com/i34w5a It's supposed to be working :), But at the end of the day, it doesn't make a connection between my website and the bitcoin core on my VPS.
So I don't know what's going on. I don't know how to solve it, I've tried everything I've found on the internet, but nothing happens. I've written -listen=0, on the bitcoin conf, and I'm not able to connect my website to it yet,
I need this help, I need a big help, Thank you!.