Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

test for more

 
jhao wang
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When testing my assignment, I meet a strange case.
I started a server in one PC, and started some clients on other defferent PCs to access the server. All the PCs are in the same Local Area Network, and all worked well.
While in another case, I started the clients to access the server through Internet, not the LAN. I can find the data well, but fail to book a record.
And the exception is MalformedException. I can not understand this: If the server IP is malformed, I should not find the data either.......
Help me. Thank you!!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it works in your LAN environment then that should be fine. The requirements does not require you to have it run through the internet.
However, the URL might be relative based rather that address based. Meaning you relative path to your server on the LAN does not need "http:" like you would through the internet. But that is a guess.
Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic