glotlabs / gdrive

Google Drive CLI Client
MIT License
1.53k stars 91 forks source link

Failed to get access token: error creating server listener(os error 10048) #94

Open l-dawei opened 11 months ago

l-dawei commented 11 months ago

I followed https://github.com/glotlabs/gdrive/blob/main/docs/create_google_api_credentials.md. After the operation was completed, it showed success.

Since I am using gdrive on the remote server Linux, then follow https://github.com/glotlabs/gdrive/tree/main#using-gdrive-on-a-remote-server to configure the local (Windows) first.

But when I enter Client ID and Client secret, error: Failed to get access token: error creating server listener(os error 10048)

mitza-oci commented 10 months ago

It's hard coded to use TCP port 8085 on the local system https://github.com/glotlabs/gdrive/blob/da821bfb551c5d908a80f310eb983aea8893e202/src/hub.rs#L66

Some other application is already using that port. If you close that app (perhaps VSCode?) then gdrive can start using it.