<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Network_Ports%2C_Files_And_Directories</id>
	<title>Network Ports, Files And Directories - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Network_Ports%2C_Files_And_Directories"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Network_Ports,_Files_And_Directories&amp;action=history"/>
	<updated>2026-05-15T09:26:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Network_Ports,_Files_And_Directories&amp;diff=6085&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;This page contains the default location of the files and directories commonly used by the Ethereum software: * Go Ethereum (&lt;code&gt;geth&lt;/code&gt;) * Parity * Ethereum Wallet  ==OS...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Network_Ports,_Files_And_Directories&amp;diff=6085&amp;oldid=prev"/>
		<updated>2019-06-20T04:31:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page contains the default location of the files and directories commonly used by the Ethereum software: * Go Ethereum (&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt;) * Parity * Ethereum Wallet  ==OS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains the default location of the files and directories commonly used by the Ethereum software:&lt;br /&gt;
* Go Ethereum (&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt;)&lt;br /&gt;
* Parity&lt;br /&gt;
* Ethereum Wallet&lt;br /&gt;
&lt;br /&gt;
==OS/X==&lt;br /&gt;
&lt;br /&gt;
===Network Listening Port===&lt;br /&gt;
The default port Ethereum clients use to listen for incoming connections is '''30303'''. In the listing below, the first two connections are the outgoing connections from my local Ethereum client to Ethereum clients over the Internet. The next two ports are the TCP and UDP 30303 ports the local Ethereum client is listening on:&lt;br /&gt;
 $ netstat -an | grep 30303&lt;br /&gt;
 tcp4       0      0  172.20.10.4.54871      47.90.2.48.30303       ESTABLISHED&lt;br /&gt;
 tcp4       0      0  172.20.10.4.54854      198.27.65.15.30303     ESTABLISHED&lt;br /&gt;
 tcp46      0      0  *.30303                *.*                    LISTEN     &lt;br /&gt;
 udp46      0      0  *.30303                *.*&lt;br /&gt;
&lt;br /&gt;
===RPC Port===&lt;br /&gt;
Some application communicate with the Ethereum client through the RPC (Remote Procedure Call) port '''8545'''. In the listing below, the first two connections are communications with Remix (Browser Solidity) from my web browser. The third line is the local Ethereum client listening for RPC connections from locally running applications.&lt;br /&gt;
&lt;br /&gt;
 $ netstat -an | grep 8545&lt;br /&gt;
 tcp4       0      0  127.0.0.1.8545         127.0.0.1.55313        ESTABLISHED&lt;br /&gt;
 tcp4       0      0  127.0.0.1.55313        127.0.0.1.8545         ESTABLISHED&lt;br /&gt;
 tcp4       0      0  127.0.0.1.8545         *.*                    LISTEN&lt;br /&gt;
&lt;br /&gt;
===IPC File Directory===&lt;br /&gt;
The IPC (Interprocess Communication) file is created when &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; is running, and is located in the directory shown below. Ethereum Wallet / Mist communicates with &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; through this pipe:&lt;br /&gt;
 $ ls -al $HOME/Library/Ethereum/geth.ipc &lt;br /&gt;
 srw-------  1 bok  staff  0 17 Mar 11:44 /Users/bok/Library/Ethereum/geth.ipc&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Executable===&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Executable - Homebrew Installation====&lt;br /&gt;
If installed using Homebrew, the location of your &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; executable is:&lt;br /&gt;
 /usr/local/bin/geth&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Executable - Manual Download====&lt;br /&gt;
If installed using a downloaded package, the location of your &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; executable is in the subdirectory where you unpacked the downloaded package.&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Executable - Automatic Download By Ethereum Wallet / Mist====&lt;br /&gt;
If installed automatically by Ethereum Wallet / Mist, the location of your &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; executable is:&lt;br /&gt;
 $HOME/Library/Application Support/Ethereum Wallet/binaries/Geth/unpacked&lt;br /&gt;
&lt;br /&gt;
The contents of my Ethereum Wallet / Mist &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; directory follows:&lt;br /&gt;
 $ ls -al &amp;quot;$HOME/Library/Application Support/Ethereum Wallet/binaries/Geth/unpacked&amp;quot;&lt;br /&gt;
 total 59464&lt;br /&gt;
 drwxr-xr-x  7 user  staff       238 17 Feb 20:02 .&lt;br /&gt;
 drwxr-xr-x  4 user  staff       136 25 Nov 11:26 ..&lt;br /&gt;
 -rwxr-xr-x  1 user  staff  30444260 17 Feb 20:02 geth&lt;br /&gt;
 drwxr-xr-x  4 user  staff       136  1 Jan  1970 geth-darwin-amd64-1.5.3-978737f5&lt;br /&gt;
 drwxr-xr-x  4 user  staff       136 22 Dec 02:36 geth-darwin-amd64-1.5.5-ff07d548&lt;br /&gt;
 drwxr-xr-x  4 user  staff       136  1 Jan  1970 geth-darwin-amd64-1.5.8-f58fb322&lt;br /&gt;
 drwxr-xr-x  4 user  staff       136  1 Jan  1970 geth-darwin-amd64-1.5.9-a07539fb&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Keystore Directory====&lt;br /&gt;
The location of your your keystore directory follows. Please make sure that you have a backup of the files in this directory:&lt;br /&gt;
 $HOME/Library/Ethereum/keystore&lt;br /&gt;
&lt;br /&gt;
The keystore directory contains your encrypted private keys with the account address at the end of the filename:&lt;br /&gt;
 $ ls $HOME/Library/Ethereum/keystore&lt;br /&gt;
 UTC--2017-03-18T05-48-53.504714737Z--c2d7cf95645d33006175b78989035c7c9061d3f9&lt;br /&gt;
&lt;br /&gt;
====&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Blockchain Data Directory====&lt;br /&gt;
The location of the directory containing your blockchain data is:&lt;br /&gt;
 $HOME/Library/Ethereum/geth/chaindata&lt;br /&gt;
&lt;br /&gt;
The amount of space required for the blockchain data (fast synced) is: &lt;br /&gt;
 $ du -hs $HOME/Library/Ethereum/geth/chaindata&lt;br /&gt;
 21G	/Users/user/Library/Ethereum/geth/chaindata&lt;br /&gt;
&lt;br /&gt;
===Ethereum Wallet Directories===&lt;br /&gt;
When you start Ethereum Wallet and it starts &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; as it cannot detect an already running instance of &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt;, the log files for &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; can be found in:&lt;br /&gt;
 /Users/bok/Library/Application Support/Ethereum Wallet/node.log*&lt;br /&gt;
&lt;br /&gt;
Following is the contents of the most recent &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; log file:&lt;br /&gt;
&lt;br /&gt;
 $ more &amp;quot;/Users/bok/Library/Application Support/Ethereum Wallet/node.log&amp;quot;&lt;br /&gt;
 I0315 20:59:22.049217 ethdb/database.go:83] Allotted 1024MB cache and 1024 file handles to /Users/bok/Library/Ethereum/geth/chaindata&lt;br /&gt;
 I0315 20:59:22.207807 ethdb/database.go:176] closed db:/Users/bok/Library/Ethereum/geth/chaindata&lt;br /&gt;
 I0315 20:59:22.208268 node/node.go:176] instance: Geth/v1.5.9-stable-a07539fb/darwin/go1.7.4&lt;br /&gt;
 I0315 20:59:22.208343 ethdb/database.go:83] Allotted 1024MB cache and 1024 file handles to /Users/bok/Library/Ethereum/geth/chaindata&lt;br /&gt;
 I0315 20:59:22.547166 eth/backend.go:187] Protocol Versions: [63 62], Network Id: 1&lt;br /&gt;
 I0315 20:59:22.547926 eth/backend.go:215] Chain config: {ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000}&lt;br /&gt;
 I0315 20:59:22.561490 core/blockchain.go:219] Last header: #3353439 [6012bfd9â€¦] TD=166996240872107570564&lt;br /&gt;
 I0315 20:59:22.561532 core/blockchain.go:220] Last block: #3353439 [6012bfd9â€¦] TD=166996240872107570564&lt;br /&gt;
 I0315 20:59:22.561546 core/blockchain.go:221] Fast block: #3353439 [6012bfd9â€¦] TD=166996240872107570564&lt;br /&gt;
 I0315 20:59:22.562435 eth/handler.go:119] blockchain not empty, fast sync disabled&lt;br /&gt;
 I0315 20:59:22.564363 p2p/server.go:340] Starting Server&lt;br /&gt;
 I0315 20:59:24.677522 p2p/discover/udp.go:227] Listening, enode://eaccc2ebaf60fd5401371f15950b5fd37f60b8ecf686566238c6bd4d925ef3644f92c0e90d2d2b92ac5decf5a25bbe6b1eda23b0c50529cba7c8a8eed90f2783@[::]:30303&lt;br /&gt;
 I0315 20:59:24.677791 p2p/server.go:608] Listening on [::]:30303&lt;br /&gt;
 I0315 20:59:24.680574 node/node.go:341] IPC endpoint opened: /Users/bok/Library/Ethereum/geth.ipc&lt;br /&gt;
 I0315 20:59:34.827406 eth/downloader/downloader.go:326] Block synchronisation started&lt;br /&gt;
&lt;br /&gt;
===Mist Directories===&lt;br /&gt;
 TODO&lt;br /&gt;
&lt;br /&gt;
===Parity Directories===&lt;br /&gt;
&lt;br /&gt;
====Parity executable====&lt;br /&gt;
 $ ls -al &amp;quot;/Applications/Parity Ethereum.app/Contents/MacOS/parity&amp;quot;&lt;br /&gt;
 -rwxr-xr-x  1 root  admin  32598160 12 Mar 05:17 /Applications/Parity Ethereum.app/Contents/MacOS/parity&lt;br /&gt;
&lt;br /&gt;
====Parity Keystore Directory====&lt;br /&gt;
The location of your your keystore directory follows. Please make sure that you have a backup of the files in this directory:&lt;br /&gt;
 $HOME/Library/Application Support/io.parity.ethereum/keys/ethereum&lt;br /&gt;
&lt;br /&gt;
The keystore directory contains your encrypted private keys with the account address at the end of the filename:&lt;br /&gt;
 $ ls -al &amp;quot;$HOME/Library/Application Support/io.parity.ethereum/keys/ethereum&amp;quot;&lt;br /&gt;
 ...&lt;br /&gt;
 -rw-------   1 user staff   551 14 Mar 13:48 UTC--2017-03-03T13-24-07.826187674Z--c2d7cf95645d33006175b78989035c7c9061d3f9&lt;br /&gt;
 -rw-r--r--   1 user staff  2162 14 Mar 23:32 address_book.json&lt;br /&gt;
 -rw-r--r--   1 user staff   139 15 Mar 01:25 dapps_history.json&lt;br /&gt;
&lt;br /&gt;
====Parity Blockchain Data Directory====&lt;br /&gt;
The location of the directory containing your blockchain data is:&lt;br /&gt;
 $HOME/Library/Application Support/io.parity.ethereum/chains/ethereum&lt;br /&gt;
&lt;br /&gt;
The amount of space required for the blockchain data (warp synced) is:&lt;br /&gt;
 $ du -hs &amp;quot;$HOME/Library/Application Support/io.parity.ethereum/chains/ethereum&amp;quot;&lt;br /&gt;
 13G	/Users/usr/Library/Application Support/io.parity.ethereum/chains/ethereum&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
Linux and OS/X both arose from Unix and exhibit many similarities.&lt;br /&gt;
&lt;br /&gt;
===Network Listening Port===&lt;br /&gt;
As with OS/X, the default port Ethereum clients use to listen for incoming connections is '''30303'''. The first two entries indicate the '''&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt;''' process on this machine is '''LISTENING''' for UDP/TCP connections on all interfaces, port 30303.&lt;br /&gt;
The ten others are '''ESTABLISHED''' connections to other peers' ports 30303.&lt;br /&gt;
&lt;br /&gt;
 $ lsof -i|grep 30303&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;   30u  IPv6  3399403      0t0  UDP *:30303&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;   38u  IPv6  3401768      0t0  TCP *:30303 (LISTEN)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;   18u  IPv4 10126848      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:40570-&amp;gt;eu1.ethpool.org:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;   64u  IPv4 10292235      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:40646-&amp;gt;c-69-243-156-140.hsd1.il.comcast.net:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;   93u  IPv4  6602449      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:36292-&amp;gt;121.144.192.63:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  154u  IPv4 10011023      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:41570-&amp;gt;host-188.65.212.49.knopp.ru:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  158u  IPv4 10559115      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:45358-&amp;gt;cpc77315-basf12-2-0-cust908.12-3.cable.virginm.net:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  160u  IPv4  7925298      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:59546-&amp;gt;li1597-200.members.linode.com:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  273u  IPv4 10045560      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:39358-&amp;gt;82.145.59.46:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  480u  IPv4  9849641      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:42860-&amp;gt;server.kuthost.com:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  552u  IPv4 10608519      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:40652-&amp;gt;103.199.16.37:30303 (ESTABLISHED)&lt;br /&gt;
 geth       6475 &amp;lt;yourUser&amp;gt;  577u  IPv4  8642782      0t0  TCP &amp;lt;yourMachine&amp;gt;.local:51348-&amp;gt;2.95.198.232:30303 (ESTABLISHED)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt; Files Directory===&lt;br /&gt;
'''&amp;lt;code&amp;gt;geth&amp;lt;/code&amp;gt;''' creates a directory in your home directory named '''.ethereum''' to use for IPC I/O, to store the blockchain, your command history and keystore files.&lt;br /&gt;
 $ ls -al /home/&amp;lt;yourUser&amp;gt;/.ethereum/&lt;br /&gt;
 total 20&lt;br /&gt;
 drwxr-xr-x  4 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Mar 16 01:33 .&lt;br /&gt;
 drwxr-xr-x 24 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Jan 21 02:24 ..&lt;br /&gt;
 drwxr-xr-x  5 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Mar 11 23:09 geth&lt;br /&gt;
 srw-------  1 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt;    0 Mar 16 01:33 geth.ipc&lt;br /&gt;
 -rw-------  1 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 3856 Mar 16 01:33 history&lt;br /&gt;
 drwx------  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Feb  4 20:26 keystore&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===&amp;lt;code&amp;gt;parity&amp;lt;/code&amp;gt; Files Directory===&lt;br /&gt;
&amp;lt;code&amp;gt;parity&amp;lt;/code&amp;gt;creates a directory in your home directory named '''.ethereum''' to use for IPC I/O, to store blockchains etc.&lt;br /&gt;
&lt;br /&gt;
 $ ls ~/.local/share/io.parity.ethereum/ -al&lt;br /&gt;
 total 40&lt;br /&gt;
 drwxrwxr-x  9 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Feb  5 10:24 .&lt;br /&gt;
 drwxr-xr-x 41 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Mar 21 19:36 ..&lt;br /&gt;
 drwxrwxr-x  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Dec 19 23:52 906a34e69aec8c0d&lt;br /&gt;
 drwxrwxr-x  4 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Jan 12 16:32 chains&lt;br /&gt;
 drwxrwxr-x  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Sep 25 10:10 dapps&lt;br /&gt;
 drwxrwxr-x  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Oct 18 00:38 ipc&lt;br /&gt;
 srwxrwxr-x  1 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt;    0 Feb  5 10:24 jsonrpc.ipc&lt;br /&gt;
 drwxrwxr-x  4 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Jan 12 16:32 keys&lt;br /&gt;
 drwxrwxr-x  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Sep 25 10:10 network&lt;br /&gt;
 drwxrwxr-x  2 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt; 4096 Oct 27 21:23 signer&lt;br /&gt;
 -rw-rw-r--  1 &amp;lt;yourUser&amp;gt; &amp;lt;yourUser&amp;gt;    5 Dec  6 23:24 ver.lock&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[BTCrow]]&lt;br /&gt;
* [[PayMate]]&lt;br /&gt;
* [[TheRockTrading]]&lt;br /&gt;
* [[BTCWALL]]&lt;br /&gt;
* [[POSaBIT]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>