No, that would cause the following exception 

--- Logging error ---
Traceback (most recent call last):
  File 
"C:\Users\i\AppData\Local\Programs\Python\Python35-32\lib\http\client.py", line 
798, in _get_hostport
    port = int(host[i+1:])
ValueError: invalid literal for int() with base 10: '//ezvideo.0letter.com'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):
  File 
"C:\Users\i\AppData\Local\Programs\Python\Python35-32\lib\logging\handlers.py", 
line 1137, in emit
    h = http.client.HTTPConnection(host)
  File 
"C:\Users\i\AppData\Local\Programs\Python\Python35-32\lib\http\client.py", line 
762, in __init__
    (self.host, self.port) = self._get_hostport(host, port)
  File 
"C:\Users\i\AppData\Local\Programs\Python\Python35-32\lib\http\client.py", line 
803, in _get_hostport
    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
http.client.InvalidURL: nonnumeric port: '//ezvideo.0letter.com'
Call stack:
  File "C:\Users\i\Documents\Tencent Files\2281570025\FileRecv\a.py", line 26, 
in <module>
    logger.error('testing remote logging')
Message: 'testing remote logging'
Arguments: ()






在2017年04月11 02时25分, "Camilo Torres"<camilotorr...@gmail.com>写道:

Hi,
Try with this configuration instead:
_TARGET = 'http://192.168.8.100:8000'

Notice you missed http:// there.

--
You received this message because you are subscribed to a topic in the Google 
Groups "Django users" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/django-users/m42PLb1N_yo/unsubscribe.
To unsubscribe from this group and all its topics, 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/8a6fcb79-dbf6-44f1-9971-7da02af85f27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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/253674e7.d2.15b5ad2d9d6.Coremail.redstone-cold%40163.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to