# Issues starting up alpha server single host

**URL:** <https://discuss.dgraph.io/t/issues-starting-up-alpha-server-single-host/13981>\
**Category:** Dgraph\
**Created:** [May 3, 2021, 8:40am UTC](https://discuss.dgraph.io/t/issues-starting-up-alpha-server-single-host/13981 "2021-05-03T08:40:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LimpingTwerp](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/limpingtwerp/32/8000_2.png) [@LimpingTwerp](https://discuss.dgraph.io/u/LimpingTwerp)\
**Post date:** [May 3, 2021, 8:40am UTC](https://discuss.dgraph.io/t/issues-starting-up-alpha-server-single-host/13981/1 "2021-05-03T08:40:47Z")

</div>

I want to start the alpha server single host configuration. So that I can use it.

I started the zero server:

> dgraph zero --my=localhost:5080  
> [Sentry] 2021/05/03 10:31:43 Integration installed: ContextifyFrames  
> [Sentry] 2021/05/03 10:31:43 Integration installed: Environment  
> [Sentry] 2021/05/03 10:31:43 Integration installed: Modules  
> [Sentry] 2021/05/03 10:31:43 Integration installed: IgnoreErrors  
> [Sentry] 2021/05/03 10:31:44 Integration installed: ContextifyFrames  
> [Sentry] 2021/05/03 10:31:44 Integration installed: Environment  
> [Sentry] 2021/05/03 10:31:44 Integration installed: Modules  
> [Sentry] 2021/05/03 10:31:44 Integration installed: IgnoreErrors  
> I0503 10:31:44.657617 2853 sentry\_integration.go:48] This instance of Dgraph will send anonymous reports of panics back to Dgraph Labs via Sentry. No confidential information is sent. These reports help improve Dgraph. To opt-out, restart your instance with the --telemetry “sentry=false;” flag. For more info,  
> I0503 10:31:44.803917 2853 init.go:110]
> 
> Dgraph version : v21.03.0  
> Dgraph codename : rocket  
> Dgraph SHA-256 : b4e4c77011e2938e9da197395dbce91d0c6ebb83d383b190f5b70201836a773f  
> Commit SHA-1 : a77bbe8ae  
> Commit timestamp : 2021-04-07 21:36:38 +0530  
> Branch : HEAD  
> Go version : go1.16.2  
> jemalloc enabled : true

> Licensed variously under the Apache Public License 2.0 and Dgraph Community License.  
> Copyright 2015-2021 Dgraph Labs, Inc.
> 
> I0503 10:31:44.804010 2853 run.go:259] Setting Config to: {raft:0xc0001b4280 telemetry:0xc0001b4218 limit:0xc0001b4290 bindall:true portOffset:0 numReplicas:1 peer: w:zw rebalanceInterval:480000000000 tlsClientConfig: audit: limiterConfig:0xc0001b0910}  
> I0503 10:31:44.804060 2853 run.go:145] Setting up grpc listener at: 0.0.0.0:5080  
> I0503 10:31:44.804209 2853 run.go:145] Setting up http listener at: 0.0.0.0:6080  
> I0503 10:31:44.804336 2853 log.go:295] Found file: 1 First Index: 1  
> I0503 10:31:44.804392 2853 storage.go:125] Init Raft Storage with snap: 0, first: 1, last: 9  
> I0503 10:31:44.804468 2853 node.go:152] Setting raft.Config to: &{ID:1 peers: learners: ElectionTick:20 HeartbeatTick:1 Storage:0xc0004c7c00 Applied:0 MaxSizePerMsg:262144 MaxCommittedSizePerReady:67108864 MaxUncommittedEntriesSize:0 MaxInflightMsgs:256 CheckQuorum:false PreVote:true ReadOnlyOption:0 Logger:0x32c8038 DisableProposalForwarding:false}  
> I0503 10:31:44.804678 2853 node.go:321] Found hardstate: {Term:7 Vote:1 Commit:9 XXX\_unrecognized:}  
> I0503 10:31:44.804704 2853 node.go:326] Group 0 found 9 entries  
> I0503 10:31:44.804710 2853 raft.go:605] Restarting node for dgraphzero  
> I0503 10:31:44.804723 2853 log.go:34] 1 became follower at term 7  
> I0503 10:31:44.804729 2853 log.go:34] newRaft 1 [peers: , term: 7, commit: 9, applied: 0, lastindex: 9, lastterm: 7]  
> I0503 10:31:44.805454 2853 run.go:393] Running Dgraph Zero…  
> I0503 10:31:44.806525 2853 node.go:189] Setting conf state to nodes:1  
> I0503 10:31:44.807250 2853 raft.go:966] Done applying conf change at 0x1  
> I0503 10:31:46.804872 2853 log.go:34] 1 is starting a new election at term 7  
> I0503 10:31:46.804930 2853 log.go:34] 1 became pre-candidate at term 7  
> I0503 10:31:46.804939 2853 log.go:34] 1 received MsgPreVoteResp from 1 at term 7  
> I0503 10:31:46.804968 2853 log.go:34] 1 became candidate at term 8  
> I0503 10:31:46.804975 2853 log.go:34] 1 received MsgVoteResp from 1 at term 8  
> I0503 10:31:46.804991 2853 log.go:34] 1 became leader at term 8  
> I0503 10:31:46.804999 2853 log.go:34] raft.node: 1 elected leader 1 at term 8  
> I0503 10:31:46.805049 2853 raft.go:912] I’ve become the leader, updating leases.  
> I0503 10:31:46.805062 2853 assign.go:47] Updated UID: 1. Txn Ts: 1. NsID: 1.

Then I tried to start the alpha server, with the following result:

dgraph alpha --my=localhost:7080 --zero=localhost:5080

```auto
[Sentry] 2021/05/03 10:32:01 Integration installed: ContextifyFrames
[Sentry] 2021/05/03 10:32:01 Integration installed: Environment
[Sentry] 2021/05/03 10:32:01 Integration installed: Modules
[Sentry] 2021/05/03 10:32:01 Integration installed: IgnoreErrors
[Sentry] 2021/05/03 10:32:01 Integration installed: ContextifyFrames
[Sentry] 2021/05/03 10:32:01 Integration installed: Environment
[Sentry] 2021/05/03 10:32:01 Integration installed: Modules
[Sentry] 2021/05/03 10:32:01 Integration installed: IgnoreErrors
I0503 10:32:01.929418 2886 sentry_integration.go:48] This instance of Dgraph will send anonymous reports of panics back to Dgraph Labs via Sentry. No confidential information is sent. These reports help improve Dgraph. To opt-out, restart your instance with the --telemetry "sentry=false;" flag. For more info, see https://dgraph.io/docs/howto/#data-handling.
I0503 10:32:02.083209 2886 init.go:110] 

Dgraph version : v21.03.0
Dgraph codename : rocket
Dgraph SHA-256 : b4e4c77011e2938e9da197395dbce91d0c6ebb83d383b190f5b70201836a773f
Commit SHA-1 : a77bbe8ae
Commit timestamp : 2021-04-07 21:36:38 +0530
Branch : HEAD
Go version : go1.16.2
jemalloc enabled : true

For Dgraph official documentation, visit https://dgraph.io/docs.
For discussions about Dgraph , visit http://discuss.hypermode.com.
For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud.

Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2021 Dgraph Labs, Inc.

I0503 10:32:02.083226 2886 run.go:756] x.Config: {PortOffset:0 Limit:normalize-node=10000; mutations-nquad=1000000; max-pending-queries=10000; txn-abort-after=5m; max-retries=-1; mutations=allow; query-edge=1000000; disallow-drop=false; query-timeout=0ms LimitMutationsNquad:1000000 LimitQueryEdge:1000000 BlockClusterWideDrop:false LimitNormalizeNode:10000 QueryTimeout:0s MaxRetries:-1 GraphQL:introspection=true; debug=false; extensions=true; poll-interval=1s; lambda-url= GraphQLDebug:false}
I0503 10:32:02.083275 2886 run.go:757] x.WorkerConfig: {TmpDir:t ExportPath:export Trace:datadog=; ratio=0.01; jaeger= MyAddr:localhost:7080 ZeroAddr:[localhost:5080] TLSClientConfig:<nil> TLSServerConfig:<nil> Raft:learner=false; snapshot-after-entries=10000; snapshot-after-duration=30m; pending-proposals=256; idx=; group= Badger:{Dir: ValueDir: SyncWrites:false NumVersionsToKeep:1 ReadOnly:false Logger:0xc0003ca1e0 Compression:1 InMemory:false MetricsEnabled:true NumGoroutines:8 MemTableSize:67108864 BaseTableSize:2097152 BaseLevelSize:10485760 LevelSizeMultiplier:10 TableSizeMultiplier:2 MaxLevels:7 VLogPercentile:0 ValueThreshold:1048576 NumMemtables:5 BlockSize:4096 BloomFalsePositive:0.01 BlockCacheSize:697932185 IndexCacheSize:375809638 NumLevelZeroTables:5 NumLevelZeroTablesStall:15 ValueLogFileSize:1073741823 ValueLogMaxEntries:1000000 NumCompactors:4 CompactL0OnClose:false LmaxCompaction:false ZSTDCompressionLevel:0 VerifyValueChecksum:false EncryptionKey:[] EncryptionKeyRotationDuration:240h0m0s BypassLockGuard:false ChecksumVerificationMode:0 DetectConflicts:true NamespaceOffset:-1 managedTxns:false maxBatchCount:0 maxBatchSize:0 maxValueThreshold:0} WhiteListedIPRanges:[] StrictMutations:false AclEnabled:false HmacSecret: ****AbortOlderThan:5m0s ProposedGroupId:0 StartTime:2021-05-03 10:32:01.534290345 +0200 CEST m=+0.242079582 Ludicrous:enabled=false; concurrency=2000 LudicrousEnabled:false Security:whitelist=; token= EncryptionKey:**** LogRequest:0 HardSync:false Audit:false}
I0503 10:32:02.083348 2886 run.go:758] worker.Config: {PostingDir:p WALDir:w MutationsMode:0 AuthToken: HmacSecret: **** AccessJwtTtl:0s RefreshJwtTtl:0s CachePercentage:0,65,35 CacheMb:1024 Audit:<nil> ChangeDataConf:file=; kafka=; sasl_user=; sasl_password=; ca_cert=; client_cert=; client_key=;}
I0503 10:32:02.083492 2886 log.go:295] Found file: 8 First Index: 0
I0503 10:32:02.084659 2886 storage.go:125] Init Raft Storage with snap: 0, first: 1, last: 0
I0503 10:32:02.084682 2886 server_state.go:141] Opening postings BadgerDB with options: {Dir:p ValueDir:p SyncWrites:false NumVersionsToKeep:2147483647 ReadOnly:false Logger:0x32c8038 Compression:1 InMemory:false MetricsEnabled:true NumGoroutines:8 MemTableSize:67108864 BaseTableSize:2097152 BaseLevelSize:10485760 LevelSizeMultiplier:10 TableSizeMultiplier:2 MaxLevels:7 VLogPercentile:0 ValueThreshold:1048576 NumMemtables:5 BlockSize:4096 BloomFalsePositive:0.01 BlockCacheSize:697932185 IndexCacheSize:375809638 NumLevelZeroTables:5 NumLevelZeroTablesStall:15 ValueLogFileSize:1073741823 ValueLogMaxEntries:1000000 NumCompactors:4 CompactL0OnClose:false LmaxCompaction:false ZSTDCompressionLevel:0 VerifyValueChecksum:false EncryptionKey:[] EncryptionKeyRotationDuration:240h0m0s BypassLockGuard:false ChecksumVerificationMode:0 DetectConflicts:false NamespaceOffset:1 managedTxns:false maxBatchCount:0 maxBatchSize:0 maxValueThreshold:0}
I0503 10:32:02.095064 2886 log.go:34] All 0 tables opened in 0s
I0503 10:32:02.095501 2886 log.go:34] Discard stats nextEmptySlot: 0
I0503 10:32:02.095537 2886 log.go:34] Set nextTxnTs to 0
I0503 10:32:02.095655 2886 log.go:34] Deleting empty file: p/000007.vlog
I0503 10:32:02.096709 2886 groups.go:99] Current Raft Id: 0x0
I0503 10:32:02.096738 2886 groups.go:115] Sending member request to Zero: addr:"localhost:7080" 
I0503 10:32:02.096965 2886 worker.go:111] Worker listening at address: [::]:7080
I0503 10:32:02.098328 2886 run.go:568] Bringing up GraphQL HTTP API at 0.0.0.0:8080/graphql
I0503 10:32:02.098343 2886 run.go:569] Bringing up GraphQL HTTP admin API at 0.0.0.0:8080/admin
I0503 10:32:02.098356 2886 run.go:596] gRPC server started. Listening on port 9080
I0503 10:32:02.098365 2886 run.go:597] HTTP server started. Listening on port 8080
E0503 10:32:02.098396 2886 groups.go:1177] Error during SubscribeForUpdates for prefix "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
I0503 10:32:02.197787 2886 pool.go:162] CONNECTING to localhost:5080
I0503 10:32:02.201769 2886 pool.go:162] CONNECTING to IPADDR:5080
W0503 10:32:02.204169 2886 pool.go:267] Connection lost with IPADDR:5080. Error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup IPADDR on 192.168.178.1:53: no such host"
E0503 10:32:03.098860 2886 groups.go:1177] Error during SubscribeForUpdates for prefix "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>

```

Which produced the listed error. Not quite sure where the IPADDR comes from.

> **dgraph version**
>
> Dgraph version : v21.03.0 Dgraph codename : rocket Dgraph SHA-256 : b4e4c77011e2938e9da197395dbce91d0c6ebb83d383b190f5b70201836a773f Commit SHA-1 : a77bbe8ae Commit timestamp : 2021-04-07 21:36:38 +0530 Branch : HEAD Go version : go1.16.2 jemalloc enabled : true
> 
> Licensed variously under the Apache Public License 2.0 and Dgraph Community License.  
> Copyright 2015-2021 Dgraph Labs, Inc.

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [May 3, 2021, 12:37pm UTC](https://discuss.dgraph.io/t/issues-starting-up-alpha-server-single-host/13981/2 "2021-05-03T12:37:40Z")

</div>

> [@LimpingTwerp](#):
>
> `Connection lost with IPADDR:5080`

This means that you haven’t start from scratch after a first try with “IPADDR” in the command instead of an IP or Localhost in the place.

The solution is really simple, delete all files in Dgraph’s path(where you started it) and done.

Cheers.
