My specific set up will post no threats to me or any of my machines. I have a few contactts I can talk to that have posted useful info here that I will continue with via PM if needed, that being said I am locking this thread.
|
|
|
Ok, so my host confirmed ports 8332, 8333 and custom open on my VPS with my websites that need to connect to the home node for processing of data etc.
That being said, the home windows system was a dual boot so not sure if anything would have interfered with that. So on that note, since the laptops not used for much, I'm just gonna wipe it out. Re-install Vista and load just the core QT client and let it DL the chain and go from there. Wont even install any extras like I did which was MalwareBytes Anti Malware and a few other small things. Gonna make this a brand new deal, install QT, DL the chain and go from there to see what happens so I guess this post will effectively be on hold for a day or two to see what happens going this route.
AFAIK, the VPS with my websites is G2G meaning it's was just something with the laptop holding me up since again, AFAIK. I did everything right with my ISP by getting a static IP and then forwarding ports 8k - 9k to the laptops internal IP which was 192.x.x.x.
So fingers crossed !
Will take pointers with this being an otherwise "new" system install with nothing but stock windows stuff and QT installed.
So ya, here's the setup as it should be when in working order.
Server A, which is outside the home some 1k miles away from me which has my websites on it it should connect to a home node on Windows Vista via RPC to gather info like diff etc. and post it back to server A.
This is how my existing set up is with my outside the home node which sends and receives data just fine to the server with my websites on it. But as I said, since my existing outside the home node is running out of disk space. I am wanting to move the node to home which will in the long run help me save some cash by closing out the server currently hosting my existing node outside the home.
Now with all that out of the way I bid farewell to this post til Windows Vista is installed with QT running the fully downloaded blockchain.
|
|
|
From the screen shot it seems you tried non-default ports. Why don't you try 8332 for starters?
It was suggested I try non standard, but I even tried 8332 and still no luck and with the wide range open / forwarded to the laptop via the router. It would suggest the "error" is on the Windows Laptop. rpcallowip=xxxx That is the IP of your VPS, right? Yes, the IP of of my externally hosted VPS with all my websites on it that "need" to gather data from the node. Says unreachable but I don't put much faith in that as I search for my current external home node that's running out of disk and it said not found on 8332 which is what my sites get the current RPC data from, but did find 8333 open. As with the home note, it says un reachable on 8332 & 8333. Reason 2, I have little to no faith in the previous link is because the yougetsignal found 8332 & 8333 open on my externally hosted node that I will need to close down because it's running out of disk hence the move to home with the node. As for my home static IP... 1: Port 8332 is closed on xx.xxx.xx.xx 2: Port 8333 is open on xx.xxx.xx.xx 3: Port <custom> is closed on xx.xxx.xx.xx 4: Now it's saying custom is open lol, so f'all if I know what to do. 5: Saying customs closed again lol. So as far as the "closed" ports go, hell if I know what went wrong as they should be open via the windows firewall. Doubt it's a router thing because all tested ports are within the wide range forwarded on the router which is a Neatgear WNDR4500.
|
|
|
Ok... so here's the deal and where I am stuck with my at home node, but first, this is what the bitcoin.conf file looks like for the at home node. rpcport=xxxx rpcuser=xxxx rpcpassword=xxxx rpcallowip=xxxx
I even went in to the windows firewall and opened port xxxx with the scope of allowing outside computers so my outside the home hosted VPS which has all my websites can, should be able to, connect to the at home node for processing various data gathering among some other things. I even went in to my router and did a port forward pointing port xxxx to the internal private IP of the laptop which is static. Before anyone asks, yes I am using the right public IP from my ISP which is static as well inside of the config files which reside on my outside the home VPS that my sites use to otherwise gather data like the following. Current Difficulty: 44,455,415,962 Next Difficulty (Est.): 45,578,945,535 Increase by: 1,123,529,573 (+2.53%) (Next change in 863 blocks.) So ya, can anyone maybe try to please help me figure out just WTH I'm doing wrong ? FWIW, the at home node is on a Windows Vista system. Ty in advance. Edit: I should add the at home node is connected to the internet just fine as I can process stuff from it, it just seems though that I cannot connect to the node from the outside world via rpc (my websites to gather and display info liek diff etc). Heck, I even set in my routers port forwarding a range of ports... just not sure on the check box as I don't understand what it means.
|
|
|
Nm, I found that default is 8332 but to name a specific port I need to flag: rpcport=<port> in bitcoin.conf
|
|
|
System A: Node System B: Other stuff connecting to node.
Ok, so I know System B needs the connection info like rpc user and pass to connect to System A for whatever it has to do be it gather info or process data and System A needs the bitcoin.conf file with the user, pass and ipallow stuff. However, what I don't know is how do I tell the bitcoin client what port to listen to for rpc stuff.
This is all on a windows machine.
Ty.
|
|
|
Was layin in bed about to call it a night or day in the case of it being 7am but I wanted to ask something on a last minute PM I read.
It was stated that Armory communicates with I guess bitcoind via RPC, well if I have something that I want to connect to bitcoind for stats via RPC. Does this mean I would need to somehow find out what Armory's RPC user and pass is, and if so would it I assume it be in the .conf file which should be located in %APPDATA%\bitcoin ?
Ty.
|
|
|
@lemipawa Change payment gateway to Coinbase's one.
Coinbase is what I use and have no issues yet. Easier than managing keys for god knows how many trans. Just use Coinbase and make sure you enable 2FA on your coinbase account.
|
|
|
Re pruning: I probably should have linked directly to this: https://github.com/bitcoin/bitcoin/pull/4701I should have mentioned that I actually never have done this particular scenario Anyway, some pointers: Re IP: Your laptop will have an IP on your internal network. That is its private IP. Probably starts with 192.etc. If you want to connect to it from outside your internal network, I recommend you fix the laptops' private network IP in the router. (Look for a setting called "DHCP static IP" or similar). Your external (public) IP may change from time to time (depends on your Internet provider). Unless your Internet provider gives you a static IP. Ask them. If it's dynamic you will need a service like NoIP.com (there are others), to make your dynamic IP available at the same connection point at all times. You can find your external IP by browsing to websites like whatismyip.com . Now, for communication from outside your network to a certain port, you will need to open that in your router config. Also, any firewalls you may have installed on the laptop need to open that port. You may remember it from how you did it when you opened port 8333 for your node? For RPC standard is 8332, but you can (and probably should) change it to another port. Makes it a bit harder for people trying to get "in", if they happen to learn your IPs. Re config file: Yes, I meant the bitcoin.conf file. There are more options for security like password, ssl certs, restrict to certain IP (the one of your VPS) etc. Have a look here: https://en.bitcoin.it/wiki/Running_bitcoind#Command-line_arguments All these commands (except -conf) can be included in the conf file. Re TCP/UDP (from the above wiki article): # Listen for RPC connections on this TCP port: #rpcport=8332 From my experience things like that may need a bit of tinkering, so you might want to try this with a dummy system first. I'll give everything a once over and get back to this post if needed. That doesn't mean I'm not interested in other peoples opinions though. @Newar, please subscribe to this if you don't mind or if your prefer I can PM you like I did earlier asking you to check this since I wasn't sure if you subscribe ti every post you reply to like I do lol Ty for help provided thus far though ;-)
|
|
|
It's I believe on a fix IP from the router it's on that's connected to my cable modem Yes it is on a fixed IP via my router which gets its internet connection from the cable modem, but AFAIK, that's like an inside the home IP. So like if I gave you the IP of the laptop set via the router and not the "real" IP of the cable modem, you couldn't get close to the system. Or am I understanding all this wrong with how IP's work lol. As for the prune thing, I didn't read too much in to that but what's it do, just prune old shit from say the time the chain was launched ? Just seems like pruning stuff might eventually break things. Also, I assume when you say settings file you mean the bitcoin.conf file or w/e it is right ? Edit: FWIW, this is the router I have... Neatgear WNDR4500 w/ Firmware Version V1.0.1.20_1.0.40 Edit 2: Correct me if I'm wrong but I've been thinking about this more. While yes the Laptop is on a fixed IP via the router. By assigng port xxxx to the laptop from within the router, if I'm able to do so (assign port xxxx to IP xxx.xxx.x.x "the laptop"). Wouldn't using my cable modems IP and the port I just set direct incoming requests from outside the home servers to the laptop which is just running the BTC node and some other small things. That being said, would I need to do anything special to the laptop itself ? Or would incomming connections just search the laptop til it finds the bitcoind backend ? Edit 3: Looking at the Port Forwarding / Port Triggering of my router now. It's asking for a service type, here's what's available. 1. TCP/UDP 2. TCP 3. UDP Which one of these would I use ?
|
|
|
I was hoping to get help from someone who's done work for me in the past but not sure if I will be able to for one reason or another. That being said, I am curious about something.
If I have a node set up at home on a Windows laptop that's running fine. How would I go about having an external system, a cloud VPS with all my websites hosted in CA I think, connect to the home system to gather info via RPC ?
Right now I have two cloud VPS's (hosted in CA I think), one with all my websites etc on it and the other a currently set up running node.
Well... the hosted server with the node is out of disk space which wasn't very large to begin with, and to add more GB is $10 a month for 10Gb/s. Well, while that's fine if all I ever needed was another 10Gb, it got me to thinking. Eventually it will get to the point where I need to keep buying disk space for the VPS hosting the node. So I started thinking, why dont I just use the home system with another node on it to get the info from that I display on my websites.
So ya, here's my current thought process.
I would like to have my outside the home server with websites connect to my at home Windows laptop with bitcoind / QT to get the info it currently gets from the outside the home hosted node.
Right now the server with the websites has AFAIK, all the files with RPC connection info for the hosted node server. So it should be a matter of just changing IP Address A (hosted outside the home node) to IP Address B (home hosted node).
I'm just not sure how to really do this with a laptop connected to a home network with many other system on it belonging to other family members with the only real IP being the one belonging to the cable modem. Assuming it's not as simple as just changing the IP address in the RPC files to that of the one belonging to my cable modem. But hell, when is anything ever that damn simple lol.
So ya, if I have made sense and I hope I did I look forward to reading your replies.
|
|
|
Ty for that, ended up getting a solution from another post I made on another site first that works... never did test your code but ty all the same ;-)
|
|
|
index.php?page=lottery Ok, that so that's (the above link) a page address of one of my sites. I'd like to do something like this which I know is possible but don't recall how since it's been years since I've required this kind of set up. I would like to do something like this, based on the URL. This: index.php?page=lottery&players=current Displays: Content A AND This: index.php?page=lottery&players=previous Displays: Content B all the while... This: index.php?page=lottery Displays: Original Content ------- So can anyone help me out here ? Would like this done in PHP vs something like JS. Ty in advance. Edit: This is what I'm working with that doesn't seem to want to work. <?php
$players = $_GET['players']; if (isset($players == 'current')) { echo "Test A"; } elseif (isset($players == 'previous')) { echo "Test B"; } else { echo "Test C"; }
?>
|
|
|
Hopefully we will see CON do something now.
Adding PayCon to AltCoinCalander now. All I know is CON actually CON'd me, didn't play with much but still lost enough I'd never admit to ;-/ Right now it's on c-cex @ 200 Ooh cheap Coins, Con is just getting started Wana send me some BTC then (or CON heh) to pick some up that I lost if I can make you laugh by PM'ing you what I gambled with ? lol I don't take solace in seeing people lose and need it for more important stuff. If you still have your Coins then hold onto them and help promote and get onto new and bigger exchanges. Add something, anything, CON accepts it all like a cheap prostitute. I don't have more important needs for the coin gambled. But it would make some ppl laugh like u made me just now about cheap prostitutes heh Edit: I actually backed out some time back before it got to the point it is now but might buy back in at the current price hoping it will pick somethin back up.
|
|
|
Hopefully we will see CON do something now.
Adding PayCon to AltCoinCalander now. All I know is CON actually CON'd me, didn't play with much but still lost enough I'd never admit to ;-/ Right now it's on c-cex @ 200 Ooh cheap Coins, Con is just getting started Wana send me some BTC then (or CON heh) to pick some up that I lost if I can make you laugh by PM'ing you what I gambled with ? lol
|
|
|
Hopefully we will see CON do something now.
Adding PayCon to AltCoinCalander now. All I know is CON actually CON'd me, didn't play with much but still lost enough I'd never admit to ;-/ Right now it's on c-cex @ 200
|
|
|
Hopefully we will see CON do something now.
|
|
|
Thx and ya, that song is very moving. A friends of my sisters husband put that together for them.
|
|
|
|