DEV Community

Vijay
Vijay

Posted on

Rest API in Spring Boot application not able to access on local network

I'm developing a REST api using Spring Boot with tomcat. The API is accessible on the same system using postman but not able access on other system which is connect with same wifi. hot

application.properties

#Mongo db setting ...
spring.data.mongodb.database=testdb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017

#setting for server port
server.port=8080
server.address=192.168.0.117



spring.http.multipart.max-file-size=10MB
spring.http.multipart.max-request-size=10MB

Top comments (0)