make device socket bind port a constant