mirror of
				https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
				synced 2025-10-30 01:47:56 +00:00 
			
		
		
		
	addded ufw
This commit is contained in:
		
							parent
							
								
									1f0a01ad8d
								
							
						
					
					
						commit
						c9f49f52e3
					
				| @ -153,6 +153,15 @@ $ sudo systemctl enable lightningd.service | ||||
| $ sudo systemctl start lightningd.service | ||||
| ``` | ||||
| 
 | ||||
| ### Enabling Remote Connections | ||||
| 
 | ||||
| If you have some sort of firewall, you'll need to open up port 9735, to allow other Lightning nodes to talk to you. | ||||
| 
 | ||||
| If you use `ufw` from Bitcoin Standup, this is done as follows: | ||||
| ``` | ||||
| $ sudo ufw allow 9735 | ||||
| ``` | ||||
| 
 | ||||
| ## Verifying your Node | ||||
| 
 | ||||
| You can check if your Lightning node is ready to go by comparing the output of `bitcoin-cli getblockcount` with the `blockheight` result from `lightning-cli getinfo`. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user