Skip to content

Commit

Permalink
Actual ipv4/ipv6 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobg committed Sep 23, 2019
1 parent 434d1d0 commit 81f6bd6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions httpserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ def run(port, index, certpath=''):
'server.socket_host': '::',
'server.socket_port': int(port)
})
server = cherrypy._cpserver.Server()
server.socket_host = '0.0.0.0'
server.subscribe()

if port == 443 and confs.BASE_DOMAIN in paths:
logger.info('Starting TLS server.')
Expand All @@ -115,9 +112,6 @@ def run(port, index, certpath=''):
server.socket_host = '::'
server.socket_port = 80
server.subscribe()
server = cherrypy._cpserver.Server()
server.socket_host = '0.0.0.0'
server.subscribe()

logger.info('Starting HTTP server.')
cherrypy.quickstart(Root(), '/')

0 comments on commit 81f6bd6

Please sign in to comment.