After I use Java Spring Example to connect to DocumentServer, "Download failed" appears when accessing the page

After I use Java Spring Example to connect to DocumentServer, “Download failed” appears when accessing the page.
Both Java Spring Example and DocumentServer are on the localhost server, they are on the same server.
But I can’t open any documents.

applicationproperties is:

server.version=1.7.0

server.address=
server.port=4000

filesize-max=5242880

files.storage=
files.storage.folder=documents

files.docservice.fillforms-docs=.docx|.oform
files.docservice.viewed-docs=.djvu|.oxps|.pdf|.xps
files.docservice.edited-docs=.csv|.docm|.docx|.docxf|.dotm|.dotx|.epub|.fb2|.html|.odp|.ods|.odt|.otp|.ots|.ott|.potm|.potx|.ppsm|.ppsx|.pptm|.pptx|.rtf|.txt|.xlsm|.xlsx|.xltm|.xltx
files.docservice.convert-docs=.doc|.dot|.dps|.dpt|.epub|.et|.ett|.fb2|.fodp|.fods|.fodt|.htm|.html|.mht|.mhtml|.odp|.ods|.odt|.otp|.ots|.ott|.pot|.pps|.ppt|.rtf|.stw|.sxc|.sxi|.sxw|.wps|.wpt|.xls|.xlsb|.xlt|.xml
files.docservice.timeout=120000
files.docservice.history.postfix=-hist

#files.docservice.url.site=http://documentserver/
files.docservice.url.site=http://localhost:80/
files.docservice.url.converter=ConvertService.ashx
files.docservice.url.command=coauthoring/CommandService.ashx
files.docservice.url.api=web-apps/apps/api/documents/api.js
files.docservice.url.preloader=web-apps/apps/api/documents/cache-scripts.html
files.docservice.url.example=

files.docservice.secret=
files.docservice.header=Authorization
files.docservice.token-use-for-request=true

files.docservice.verify-peer-off=true

files.docservice.languages=en:English|hy:Armenian|az:Azerbaijani|eu:Basque|be:Belarusian|bg:Bulgarian|ca:Catalan|zh:Chinese (Simplified)|zh-TW:Chinese (Traditional)|cs:Czech|da:Danish|nl:Dutch|fi:Finnish|fr:French|gl:Galego|de:German|el:Greek|hu:Hungarian|id:Indonesian|it:Italian|ja:Japanese|ko:Korean|lo:Lao|lv:Latvian|ms:Malay (Malaysia)|no:Norwegian|pl:Polish|pt:Portuguese (Brazil)|pt-PT:Portuguese (Portugal)|ro:Romanian|ru:Russian|si:Sinhala (Sri Lanka)|sk:Slovak|sl:Slovenian|es:Spanish|sv:Swedish|tr:Turkish|uk:Ukrainian|vi:Vietnamese|aa-AA:Test Language

spring.datasource.url=jdbc:h2:mem:usersdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
hibernate.ddl-auto
spring.h2.console.enabled=true
spring.h2.console.path=/h2
spring.servlet.multipart.max-file-size=5MB
spring.servlet.multipart.max-request-size=5MB

url.index=/
url.converter=/converter
url.editor=/editor
url.track=/track
url.download=/download

logo.image=
logo.imageEmbedded=
logo.url=https://www.onlyoffice.com

The following is a log from the log file in ONLYOFFICE\DocumentServer\Log\converter.

[2024-01-31T12:48:43.808] [ERROR] [localhost] [-1038813925] [1] nodeJS - error downloadFile:url=http://localhost:4000/download?fileName=20240110+-+%E6%A0%B9%E6%8D%AE%E6%89%B9%E6%B3%A8%E4%BF%AE%E6%94%B9-%E5%8D%8E%E6%B6%A6%E5%9B%BD%E9%82%A6%E5%86%B7%E8%97%8F%E8%BD%A6%E6%B2%AADYU905%E9%AA%8C%E8%AF%81%E6%8A%A5%E5%91%8A%EF%BC%88%E5%B7%B2%E6%94%B9%EF%BC%89%E2%80%94%E2%80%94%E6%A0%B7%E5%BC%8F%E6%96%87%E4%BB%B6.docx&userAddress=E%3A%5CWork%5CJava+Spring+Example%5Cdocuments%5C192.168.1.15%5C;attempt=3;code:null;connect:null Error: DNS lookup 127.0.0.1(family:4, host:localhost) is not allowed. Because, It is private IP address.
    at validateIPAddress (C:\snapshot\server\build\server\Common\node_modules\request-filtering-agent\lib\request-filtering-agent.js:71:20)
    at Socket.<anonymous> (C:\snapshot\server\build\server\Common\node_modules\request-filtering-agent\lib\request-filtering-agent.js:88:21)
    at Socket.emit (events.js:400:28)
    at emitLookup (net.js:1055:12)
    at C:\snapshot\server\build\server\Common\node_modules\dnscache\lib\index.js:80:28
    at C:\snapshot\server\build\server\Common\node_modules\dnscache\lib\cache.js:116:13
    at RawTask.call (C:\snapshot\server\build\server\Common\node_modules\asap\asap.js:40:19)
    at flush (C:\snapshot\server\build\server\Common\node_modules\asap\raw.js:50:29)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

Hello @LuceMorente,
The Document Server allows neither localhost nor internal IP addresses by default. Please use this to avoid the issue: When I call Conversion API,the editor seems to be blocked - #7 by Carl