Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Add api for message.wait #3

Open
yangjian102621 opened this issue Aug 13, 2019 · 4 comments
Open

Add api for message.wait #3

yangjian102621 opened this issue Aug 13, 2019 · 4 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yangjian102621
Copy link
Member

No description provided.

@yangjian102621 yangjian102621 added help wanted Extra attention is needed good first issue Good for newcomers labels Aug 13, 2019
@duduppp
Copy link

duduppp commented Aug 21, 2019

3453 这个端口,如何在filecoin 设置?

@yangjian102621
Copy link
Member Author

@duduppp
Hi, here, just modify the filecoin deamon configuration file.
it's default path is ~/.filecoin/config.

Find the configuration for api.address:

"address": "/ip4/127.0.0.1/tcp/3453"

You can modify the port 3453 to other port you like.

@duduppp
Copy link

duduppp commented Aug 22, 2019

@yangjian102621 Maybe I'm wrong about that. I mean, I can't link, even though ‘accessControlAllowCredentials’ is set to true, I still can't link.maybe the problem is port.
i try restart filecoin and link again ,but it's fail.
tips: Caused by: java.net.ConnectException: Failed to connect to /192.168.2.12:3453
Caused by: java.net.ConnectException: Connection refused: connect。
I just want to test filecoin RPC。
jsapi,goapi :‘/ip4/127.0.0.1/tcp/3453/http';java ?

I don't know how to test the connection.

@yangjian102621
Copy link
Member Author

@duduppp
Here, Filecoin client http api is only allow by localhost or 127.0.0.1 access default, if you want to connect it in local area network, you should modify the api.address to /ip4/192.168.2.12/tcp/3453

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants