Comments (3)
There is no built-in permission control at the moment. You should keep the api port protected or restrict cors through "Access-Control-Allow-Origin"
in your ~/.btfs/config
:
"Gateway": {
"APICommands": [],
"HTTPHeaders": {
"Access-Control-Allow-Headers": [
"X-Requested-With",
"Range",
"User-Agent"
],
"Access-Control-Allow-Methods": [
"GET"
],
"Access-Control-Allow-Origin": [
"*"
]
},
"NoFetch": false,
"PathPrefixes": [],
"RootRedirect": "",
"Writable": false
},
from go-btfs.
Looks like the api can only be accessed locally?
API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Remote API server listening on /ip4/127.0.0.1/tcp/5101
I tried to access the 8080 port out of the vm and it failed...
from go-btfs.
@samohyes thats correct, the api will only listen to locally by default. if you do a btfs config show
and view the Address, API settings it has the 127.0.0.1 by default. the settings is a multiaddr format. thanks.
from go-btfs.
Related Issues (20)
- 31mERROR HOT 1
- the content of my btfs daemon config file is empty HOT 1
- All my nodes have not received airdrop for more than 10 days HOT 1
- Unauthorized transaction HOT 1
- Failed to sync host stats HOT 2
- What Is This ? HOT 1
- rasp4 4GB error on init HOT 2
- Future Earnings 0 HOT 1
- Btfs 2.1.0 100 Btt Gas Problem HOT 12
- Key conversion
- BTFS not triggering to continue even if suggested BTT is sent to TRX or BTTC address! HOT 3
- Btfs unavailable desc = transport is closing HOT 1
- simple/reprovide.go:108 failed to reprovide: no known addresses for self, cannot put provider HOT 1
- HOst Age decreased to 5 points HOT 2
- Looks like your node is not connected HOT 4
- No owner account HOT 1
- Not access to Dashboard remotely HOT 1
- BTFS repository migrated to new address, please note for community members
- BTFS not navigating to main dashboard after 100 btt deposit BTFS requires deposit even if address has balance HOT 1
- Tron link says incorrect mnemonic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-btfs.