Skip to first unread message

Anil Kumar

unread,
Apr 7, 2020, 11:58:42 AM4/7/20
to Tethys Platform

hello everyone


i have database runing on port 5435 but when i run the command tethys manage start after i loged on once with superuser it gives error as


'could not connect to server: Connection refused (0x0000274D/10061)
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 5436?'

ezra.j.rice

unread,
Apr 8, 2020, 5:17:09 AM4/8/20
to Tethys Platform
Hi,

Sorry you're having difficulties. This error message shows that Tethys is looking for the database to be on port 5436 instead of 5435. Try changing your portal_config.yml file to show your database setting with the updated port. You will need to restart your portal for the changes to take effect.

# portal_config.yml
...
settings:
  ...
  DATABASES:
    default:
      NAME: ...
      USER: ...
      PASSWORD: ...
      HOST: 'localhost'
      PORT: 5435
...

Reply all
Reply to author
Forward
0 new messages