Noted, thanks

On Tuesday, January 16, 2018 at 1:31:20 PM UTC+9, chern...@gmail.com wrote:
>
> As what the title said, is it possible to run 2 django project at the same 
> time ?
>
> My task is this:
>  Integration of django 1 api and django 2 api, to setup two django app, on 
> same server / PC, with different port
>
>
> As far from what i know, i can change the port number in the settings.py 
> database section.
>
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.db.backends.postgresql',
>         'NAME': 'Project',
>         'USER': 'admin',
>         'PASSWORD': 'pass1234',
>         'HOST': 'localhost',
>         'PORT': '',
>     }
> }
>
> Do i change the port number here ? As default is http://127.0.0.1:8000/
>
> So i change the 'PORT': '8001', but got this error instead:
> 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 8001?
>
> Is there a way to set it up so i can run 2 different django project with 
> different port number ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/127c0c10-59ab-4776-95fc-26ebff13b7de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to