adding hardware code, System works smoothly over local network