ws to port 3472 issue
See original GitHub issueIt is not clear why the code is trying to connect to port 3472.
Testing a sample code below:
const myCore = Hypercore(null, {
valueEncoding: 'json',
persist: false,
storage: null // storage: RAI
})
myCore.append(JSON.stringify({
name: 'Alice'
}), () => {
const discoveryCoreKey = 'dat://bee80ff3a4ee5e727dc44197cb9d25bf8f19d50b0f3ad2984cfe5b7d14e75de7'
const discoveryCore = new Hypercore(discoveryCoreKey, {
persist: false,
extensions: ['discovery']
})
// When you find a new peer, tell them about your core
discoveryCore.on('peer-add', (peer) => {
console.log('Got a peer!')
peer.extension('discovery', myCore.key)
})
discoveryCore.on('extension', (type, message) => {
console.log('Got extension message', type, message)
if (type !== 'discovery') return
discoveryCore.close()
const otherCore = new Hypercore(message, {
valueEncoding: 'json',
persist: false
})
otherCore.get(0, console.log)
})
});
In the browser, getting the below error:
WebSocket connection to 'ws://localhost:3472/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
as well as this error:
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
service-names-port-numbers.txt
Service names and port numbers are used to distinguish between different services that run over transport protocols such as TCP, UDP, DCCP, and...
Read more >TCP 3472 - Port Protocol Information and Warning!
Because protocol TCP port 3472 was flagged as a virus (colored red) does not mean that a virus is using port 3472, but...
Read more >JMS Producer/Consumer problems. · Issue #3472 · eclipse-ee4j ...
glassfishrobot opened this issue on Aug 7, 2007 · 17 comments ... should always happen when the client releases the WS port, right...
Read more >TCP/UDP Port Number List - What Is My IP Address
Port list of well known, registered, and dynamic/private ports.
Read more >CVE-2014-3472 - Vulners
Description. The isCallerInRole function in SimpleSecurityManager in JBoss Application Server (AS) 7, as used in Red Hat JBoss Enterprise Application ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah so… The problem was my NAT. It seems that having the webpage tested by different browsers on different networks never yielded the same result. It either works or doesn’t. But I’ll take what I can for now.
Anyways, thanks @RangerMauve for your support, and for the extra cool stuff being worked on with DAT. Keep it up! I’m excited to see what comes out 😄
Gonna close this for now since it’s not very actionable yet